- Timestamp:
- 03/21/13 11:48:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/helpers.js
r8046 r8052 177 177 */ 178 178 179 function eventDetails( objEvent, decoded, path, isMail, repeat )179 function eventDetails( objEvent, decoded, path, isMail, repeat, buttonClicked) 180 180 { 181 181 $('.qtip.qtip-blue').remove(); … … 196 196 if(path == undefined) 197 197 path = ""; 198 199 198 200 199 if( !decoded ) … … 1098 1097 var oldTime = UI.dialogs.addEvent.find('input.start-time').val(); 1099 1098 $(".start-time").focusout(function(data){ 1100 if($("#calendar").fullCalendar('getView').name == "month" ){1099 if($("#calendar").fullCalendar('getView').name == "month" || buttonClicked) { 1101 1100 setTime( $(this).val() ); 1102 1101 } … … 1107 1106 timeFormat: "hh:mm tt", 1108 1107 onSelect: function( selectedDateTime ){ 1109 if($("#calendar").fullCalendar('getView').name == "month" ){1108 if($("#calendar").fullCalendar('getView').name == "month" || buttonClicked) { 1110 1109 if ( selectedDateTime.indexOf("p.m.") == -1 || !selectedDateTime.indexOf("a.m.") == -1 ) { 1111 1110 var selectedTime = selectedDateTime.split(":"); … … 1123 1122 }, 1124 1123 onClose : function (selectedDateTime){ 1125 1126 1124 fixHour(); 1127 1125 }
Note: See TracChangeset
for help on using the changeset viewer.