Changeset 19456
- Timestamp:
- 11/26/2011 05:49:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/thickbox/thickbox.js
r19451 r19456 226 226 if(url.indexOf('TB_inline') != -1){ 227 227 jQuery("#TB_ajaxContent").append(jQuery('#' + params['inlineId']).children()); 228 jQuery("#TB_window"). unload(function () {228 jQuery("#TB_window").bind('tb_unload', function () { 229 229 jQuery('#' + params['inlineId']).append( jQuery("#TB_ajaxContent").children() ); // move elements back when you're finished 230 230 }); … … 276 276 jQuery("#TB_imageOff").unbind("click"); 277 277 jQuery("#TB_closeWindowButton").unbind("click"); 278 jQuery("#TB_window").fadeOut("fast",function(){jQuery('#TB_window,#TB_overlay,#TB_HideSelect').trigger(" unload").unbind().remove();});278 jQuery("#TB_window").fadeOut("fast",function(){jQuery('#TB_window,#TB_overlay,#TB_HideSelect').trigger("tb_unload").unbind().remove();}); 279 279 jQuery("#TB_load").remove(); 280 280 if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
Note: See TracChangeset
for help on using the changeset viewer.