Ignore:
Timestamp:
03/21/13 16:49:31 (11 years ago)
Author:
douglas
Message:

Ticket #3383 - Melhorias ao alterar data e hora de eventos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/prototype/modules/calendar/js/helpers.js

    r8050 r8054  
    177177 */ 
    178178 
    179 function eventDetails( objEvent, decoded, path, isMail, repeat) 
     179function eventDetails( objEvent, decoded, path, isMail, repeat, buttonClicked) 
    180180{ 
    181181 
     
    197197    if(path == undefined) 
    198198        path = ""; 
    199           
    200199          
    201200    if( !decoded ) 
     
    10951094    var oldTime = UI.dialogs.addEvent.find('input.start-time').val(); 
    10961095    $(".start-time").focusout(function(data){  
    1097         if($("#calendar").fullCalendar('getView').name == "month"){  
     1096        if($("#calendar").fullCalendar('getView').name == "month" || buttonClicked) {  
    10981097            setTime( $(this).val() );  
    10991098        }  
     
    11041103        timeFormat: "hh:mm tt",  
    11051104        onSelect: function( selectedDateTime ){  
    1106             if($("#calendar").fullCalendar('getView').name == "month"){  
     1105            if($("#calendar").fullCalendar('getView').name == "month" || buttonClicked) {  
    11071106                if ( selectedDateTime.indexOf("p.m.") == -1 || !selectedDateTime.indexOf("a.m.") == -1 ) {  
    11081107                    var selectedTime = selectedDateTime.split(":");  
Note: See TracChangeset for help on using the changeset viewer.