Ticket #15911: 15911.5.patch
File 15911.5.patch, 1.2 KB (added by , 14 years ago) |
---|
-
wp-admin/js/edit-comments.dev.js
357 357 c = $('#comment-' + this.cid); 358 358 359 359 if ( typeof QTags != 'undefined' ) 360 QTags.cl oseAllTags('replycontent');360 QTags.clearButtonStates('replycontent'); 361 361 362 362 if ( this.act == 'edit-comment' ) 363 363 c.fadeIn(300, function(){ c.show() }).css('backgroundColor', ''); -
wp-includes/js/quicktags.dev.js
538 538 btn.callback.call(btn, '', ed.canvas, ed); 539 539 }; 540 540 541 qt.clearButtonStates = function(editor_id) { 542 var ed = this.getInstance(editor_id), button, element, tbo = ed.openTags; 543 544 if ( tbo ) { 545 while ( tbo.length > 0 ) { 546 button = ed.getButton(tbo[tbo.length - 1]); 547 element = document.getElementById(ed.name + '_' + button.id); 548 button.closeTag(element, ed); 549 } 550 } 551 }; 552 541 553 // the link button 542 554 qt.LinkButton = function() { 543 555 qt.TagButton.call(this, 'link', 'link', '', '</a>', 'a');