Changeset 6683
- Timestamp:
- 06/29/12 12:08:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/helpers.js
r6674 r6683 403 403 position: 'center', 404 404 close: function(event, ui) { 405 405 /** 406 406 * Remove tooltip possivelmente existente 407 407 */ 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 = {}; 413 411 }, 414 412 beforeClose: function(event, ui) { … … 464 462 //DataLayer.rollback(); 465 463 return canDiscardEventDialog; 464 }, 465 dragStart: function(event, ui) { 466 if ($('.qtip.qtip-blue.qtip-active').length) 467 $('.qtip.qtip-blue.qtip-active').qtip('destroy'); 466 468 } 467 469 }); … … 471 473 } 472 474 473 var tabs = UI.dialogs.addEvent.children('.content').tabs(); 475 var 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 }); 474 481 var calendar = DataLayer.get('calendar', objEvent.calendar); 475 482
Note: See TracChangeset
for help on using the changeset viewer.