Changeset 22652
- Timestamp:
- 11/19/2012 01:23:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
r22600 r22652 7 7 8 8 tinymce.create('tinymce.plugins.WordPress', { 9 mceTout: 0,9 showButtons : 0, 10 10 11 11 init : function(ed, url) { … … 376 376 }); 377 377 378 if ( this.mceTout ) 379 clearTimeout(this.mceTout); 380 381 this.mceTout = setTimeout( function(){ed.plugins.wordpress._hideButtons();}, 5000 ); 378 this.showButtons = true; 382 379 }, 383 380 384 381 _hideButtons : function() { 385 if ( ! this.mceTout)382 if ( ! this.showButtons ) 386 383 return; 387 384 … … 392 389 tinymce.DOM.hide('wp_gallerybtns'); 393 390 394 clearTimeout(this.mceTout); 395 this.mceTout = 0; 391 this.showButtons = false; 396 392 }, 397 393
Note: See TracChangeset
for help on using the changeset viewer.