Ignore:
Timestamp:
07/02/12 12:25:11 (12 years ago)
Author:
eduardow
Message:

Ticket #2924 - Modal Permissões independente do elemento pai.

File:
1 edited

Legend:

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

    r6685 r6692  
    406406                 * Remove tooltip possivelmente existente 
    407407                 */ 
    408             if ($('dd.attendee-list li:last').data('qtip')) 
    409                 $('dd.attendee-list li:last').qtip('destroy'); 
    410                                                  
    411             attendees  = {}; 
     408            if ($('.qtip.qtip-blue.qtip-active').length)  
     409                $('.qtip.qtip-blue.qtip-active').qtip('destroy');                                                 
     410        attendees  = {}; 
    412411 
    413412        }, 
     
    464463            //DataLayer.rollback(); 
    465464            return canDiscardEventDialog; 
     465        },  
     466    dragStart: function(event, ui) {  
     467            if ($('.qtip.qtip-blue.qtip-active').length)  
     468                    $('.qtip.qtip-blue.qtip-active').qtip('destroy'); 
    466469        } 
    467470    }); 
     
    471474} 
    472475                 
    473 var tabs = UI.dialogs.addEvent.children('.content').tabs(); 
     476var tabs = UI.dialogs.addEvent.children('.content').tabs({  
     477        select: function(event, ui) {   
     478                if ($('.qtip.qtip-blue.qtip-active').length)  
     479                        $('.qtip.qtip-blue.qtip-active').qtip('destroy');  
     480        }         
     481        }); 
    474482var calendar = DataLayer.get('calendar', objEvent.calendar); 
    475483                                 
Note: See TracChangeset for help on using the changeset viewer.