Changeset 12520
- Timestamp:
- Oct 26, 2011, 4:58:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/themes/default/js/datepicker.js
r5123 r12520 44 44 45 45 // Init list 46 $(day + " option"). attr("disabled", "");47 $(month + " option"). attr("disabled", "");46 $(day + " option").removeAttr("disabled"); 47 $(month + " option").removeAttr("disabled"); 48 48 49 49 var daysInMonth = 32 - new Date(y, m - 1, 32).getDate(); … … 78 78 if (op_cmp == "lt") 79 79 { 80 $(month + " option:eq(" + (0) +")"). attr("disabled", "");80 $(month + " option:eq(" + (0) +")").removeAttr("disabled"); 81 81 } 82 82 … … 86 86 if (op_cmp == "lt") 87 87 { 88 $(day + " option:eq(" + (0) +")"). attr("disabled", "");88 $(day + " option:eq(" + (0) +")").removeAttr("disabled"); 89 89 } 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.