Changeset 26196
- Timestamp:
- 11/15/2013 04:52:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/media-upload.js
r23055 r26196 1 /* global tinymce, QTags, tb_remove */ 1 2 // send html to the post editor 2 3 3 var wpActiveEditor ;4 var wpActiveEditor, send_to_editor; 4 5 5 function send_to_editor(h) {6 send_to_editor = function(h) { 6 7 var ed, mce = typeof(tinymce) != 'undefined', qt = typeof(QTags) != 'undefined'; 7 8 … … 43 44 } 44 45 45 try{tb_remove();}catch(e){} ;46 } 46 try{tb_remove();}catch(e){} 47 }; 47 48 48 49 // thickbox settings … … 61 62 if ( typeof document.body.style.maxWidth != 'undefined' ) 62 63 tbWindow.css({'top': 20 + adminbar_height + 'px','margin-top':'0'}); 63 } ;64 } 64 65 65 66 return $('a.thickbox').each( function() {
Note: See TracChangeset
for help on using the changeset viewer.