summaryrefslogtreecommitdiff
path: root/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js
diff options
context:
space:
mode:
Diffstat (limited to 'tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js')
-rw-r--r--tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js b/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js
deleted file mode 100644
index 23658f10..00000000
--- a/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.performance.js
+++ /dev/null
@@ -1,25 +0,0 @@
-tuskar.performance = (function () {
- 'use strict';
-
- var module = {};
-
- module.show_hide_datepickers = function () {
- var date_options = $("#date_options");
- date_options.change(function(evt) {
- if ($(this).find("option:selected").val() === "other"){
- evt.stopPropagation();
- $("#date_from, #date_to").val('');
- $("#date_from_group, #date_to_group").show();
- } else {
- $("#date_from_group, #date_to_group").hide();
- }
- });
- if (date_options.find("option:selected").val() === "other"){
- $("#date_from_group, #date_to_group").show();
- } else {
- $("#date_from_group, #date_to_group").hide();
- }
- };
-
- return module;
-} ());