Changeset 1745
- Timestamp:
- Apr 11, 2011, 12:16:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/studywizard.js
r1702 r1745 23 23 attachDateTimePickers(); 24 24 disableKeys(); 25 disableDatePickerKeys(); 25 26 26 27 // handle and initialize table(s) … … 86 87 // initialize accordeon(s) 87 88 $("#accordion").accordion({autoHeight: false}); 89 } 90 91 // disable all key presses in every text element which has a datapicker 92 // attached 93 function disableDatePickerKeys() { 94 $(".hasDatepicker").each(function() { 95 $(this).bind('keypress', function(e) { return false; }); 96 }); 88 97 } 89 98
Note: See TracChangeset
for help on using the changeset viewer.