Ticket #25696: edit-comments.js.diff
File edit-comments.js.diff, 1.2 KB (added by , 10 years ago) |
---|
-
trunk/src/wp-admin/js/edit-comments.js
390 390 $('#comment_post_ID', editRow).val(post_id); 391 391 $('#comment_ID', editRow).val(comment_id); 392 392 393 if ( $('a.save', editRow).hasClass('button-primary-disabled') ) 394 $('a.save', editRow).removeClass('button-primary-disabled'); 395 393 396 if ( h > 120 ) 394 397 $('#replycontent', editRow).css('height', (35+h) + 'px'); 395 398 … … 454 457 $('#replysubmit .error').hide(); 455 458 $('#replysubmit .spinner').show(); 456 459 460 if ( $('#replyrow a.save').hasClass('button-primary-disabled') ) 461 return false; 462 463 $('#replyrow a.save').addClass('button-primary-disabled'); 464 457 465 $('#replyrow input').not(':button').each(function() { 458 466 var t = $(this); 459 467 post[ t.attr('name') ] = t.val(); … … 537 545 538 546 $('#replysubmit .spinner').hide(); 539 547 548 if ( $('#replysubmit a.save').hasClass('button-primary-disabled') ) 549 $('#replysubmit a.save').removeClass('button-primary-disabled'); 550 540 551 if ( r.responseText ) 541 552 er = r.responseText.replace( /<.[^<>]*?>/g, '' ); 542 553