Changeset 8046


Ignore:
Timestamp:
03/20/13 16:48:45 (11 years ago)
Author:
thiago
Message:

Ticket #3383 - Correção da aplicação da data, e do horario na semana.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/helpers.js

    r8044 r8046  
    600600            if( newDt > endDate ) 
    601601                $(".end-date").val(storeSelectedDate); 
     602        }, 
     603        onClose: function(){ 
     604                UI.dialogs.addEvent.find(".end-date").val(UI.dialogs.addEvent.find(".start-date").val()); 
    602605        } 
    603606    }); 
     
    10951098    var oldTime = UI.dialogs.addEvent.find('input.start-time').val(); 
    10961099    $(".start-time").focusout(function(data){ 
    1097         setTime( $(this).val() ); 
     1100        if($("#calendar").fullCalendar('getView').name == "month"){ 
     1101            setTime( $(this).val() ); 
     1102        } 
    10981103    }); 
    10991104 
     
    11181123        }, 
    11191124        onClose : function (selectedDateTime){ 
     1125             
    11201126            fixHour(); 
    11211127        } 
Note: See TracChangeset for help on using the changeset viewer.