Ticket #15911: 15911.3.patch
File 15911.3.patch, 1.1 KB (added by , 14 years ago) |
---|
-
wp-admin/js/edit-comments.dev.js
353 353 close : function() { 354 354 var c; 355 355 356 QTags.getInstance('replycontent').clearButtonStates(); 357 356 358 if ( this.cid ) { 357 359 c = $('#comment-' + this.cid); 358 360 -
wp-includes/js/quicktags.dev.js
504 504 } 505 505 }; 506 506 507 qt.prototype.closeAllTags = function() { 508 var btn = this.getButton('close'); 509 btn.callback.call(btn, '', this.canvas, this.toolbar); 507 qt.prototype.clearButtonStates = function() { 508 var button, element, tbo = this.openTags; 509 if ( tbo ) { 510 while ( tbo.length > 0 ) { 511 button = this.getButton(tbo[tbo.length - 1]); 512 element = document.getElementById(this.name + '_' + button.id); 513 button.closeTag(element, this); 514 } 515 } 510 516 }; 511 517 512 518 // the link button