Ignore:
Timestamp:
08/23/12 12:23:46 (12 years ago)
Author:
marcosw
Message:

Ticket #3073 - Correção cópia tarefas e exibição calendarios/grupos

Location:
trunk/prototype/modules/calendar/js
Files:
3 edited

Legend:

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

    r7068 r7106  
    6161                                $(this).addClass("li-hover").find('a').addClass('ui-state-hover'); 
    6262                                if($(this).hasClass('copy') || $(this).hasClass('move')) { 
    63                                          
    6463                                        $(this).parents().find('.calendar-copy-move input[name="typeEvent"]').val( method($(this).attr('class').split(" ")[0])); 
    6564                                        $(this).parents().find('.calendar-copy-move').show(); 
    66                                  
    67                                 }        
     65                                        if($(this).hasClass('move')) 
     66                                                $('.calendar-list.calendar-already').hide(); 
     67                                        else 
     68                                                $('.calendar-list.calendar-already').show();     
     69                                } 
    6870                        }, 
    6971                        function () { 
  • trunk/prototype/modules/calendar/js/helpers.js

    r7102 r7106  
    27822782 
    27832783    var schedulable = DataLayer.get('schedulable', event+''); 
     2784    schedulable['class'] = '1'; 
    27842785         
    27852786    calendar = !!calendar ? calendar : schedulable.calendar; 
  • trunk/prototype/modules/calendar/js/init.js

    r7033 r7106  
    245245                                        calendar: calendar,  
    246246                                        timezone: timezone, 
     247                                        'class':'1', 
    247248                                                        status: '1', 
    248249                                        startTime: new Date().toString('yyyy-MM-dd 00:00:00'), 
Note: See TracChangeset for help on using the changeset viewer.