aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/static_helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/static/static_helpers.js')
-rw-r--r--tests/static/static_helpers.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/static/static_helpers.js b/tests/static/static_helpers.js
new file mode 100644
index 000000000..2d890d5f4
--- /dev/null
+++ b/tests/static/static_helpers.js
@@ -0,0 +1,7 @@
+$(function(){
+ //add hover states on the static widgets
+ $('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value), a.ui-datepicker-next, a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover(
+ function(){ $(this).addClass('ui-state-hover'); },
+ function(){ $(this).removeClass('ui-state-hover'); }
+ );
+}); \ No newline at end of file