After [34070], account for the new ID in Quick Edit JS.

Props afercia.
Fixes #33770.


git-svn-id: https://develop.svn.wordpress.org/trunk@34159 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-15 01:30:36 +00:00
parent 95795c1301
commit 5168b2e303
1 changed files with 2 additions and 2 deletions

View File

@ -540,7 +540,7 @@ commentReply = {
$('a.cancel', row).click(function() { return commentReply.revert(); });
$('a.save', row).click(function() { return commentReply.send(); });
$('input#author, input#author-email, input#author-url', row).keypress(function(e){
$( 'input#author-name, input#author-email, input#author-url', row ).keypress( function( e ) {
if ( e.which == 13 ) {
commentReply.send();
e.preventDefault();
@ -641,7 +641,7 @@ commentReply = {
$('#comment_ID', editRow).val(comment_id);
if ( action == 'edit' ) {
$('#author', editRow).val( $('div.author', rowData).text() );
$( '#author-name', editRow ).val( $( 'div.author', rowData ).text() );
$('#author-email', editRow).val( $('div.author-email', rowData).text() );
$('#author-url', editRow).val( $('div.author-url', rowData).text() );
$('#status', editRow).val( $('div.comment_status', rowData).text() );