Changeset 7102 for trunk/prototype/modules/calendar/js/helpers.js
- Timestamp:
- 08/22/12 15:07:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/helpers.js
r7022 r7102 942 942 timeFormat: "hh:mm tt", 943 943 onSelect: function (selectedDateTime){ 944 if(!(User.preferences.hourFormat.length == 5)) 945 $(this).val(selectedDateTime.replace(/[\.]/gi, "")); 946 updateMap(); 944 if ((selectedDateTime.value == '__:__') || (selectedDateTime.value == '__:__ __')) 945 selectedDateTime.value = ""; 946 if(!(User.preferences.hourFormat.length == 5)) 947 $(this).val(selectedDateTime.replace(/[\.]/gi, "")); 948 updateMap(); 947 949 }, 948 950 onClose : function (selectedDateTime){ 949 951 if(!(User.preferences.hourFormat.length == 5)) 950 952 $(this).val(selectedDateTime.replace(/[\.]/gi, "")); 953 }, 954 beforeShow: function (selectedDateTime) { 955 if ((selectedDateTime.value == '__:__') || (selectedDateTime.value == '__:__ __')) 956 selectedDateTime.value = ""; 951 957 } 952 958 });
Note: See TracChangeset
for help on using the changeset viewer.