Ignore:
Timestamp:
06/29/12 12:08:16 (12 years ago)
Author:
douglasz
Message:

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

File:
1 edited

Legend:

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

    r6674 r6683  
    403403        position: 'center',  
    404404        close: function(event, ui) { 
    405             /** 
     405                /** 
    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  = {}; 
    412  
     408                if ($('.qtip.qtip-blue.qtip-active').length) 
     409                        $('.qtip.qtip-blue.qtip-active').qtip('destroy');                                                
     410                attendees  = {}; 
    413411        }, 
    414412        beforeClose: function(event, ui) { 
     
    464462            //DataLayer.rollback(); 
    465463            return canDiscardEventDialog; 
     464        }, 
     465        dragStart: function(event, ui) { 
     466                if ($('.qtip.qtip-blue.qtip-active').length) 
     467                        $('.qtip.qtip-blue.qtip-active').qtip('destroy'); 
    466468        } 
    467469    }); 
     
    471473} 
    472474                 
    473 var tabs = UI.dialogs.addEvent.children('.content').tabs(); 
     475var tabs = UI.dialogs.addEvent.children('.content').tabs({ 
     476        select: function(event, ui) {  
     477                if ($('.qtip.qtip-blue.qtip-active').length) 
     478                        $('.qtip.qtip-blue.qtip-active').qtip('destroy'); 
     479        }        
     480        }); 
    474481var calendar = DataLayer.get('calendar', objEvent.calendar); 
    475482                                 
Note: See TracChangeset for help on using the changeset viewer.