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

Props afercia.
Fixes #33770.

Built from https://develop.svn.wordpress.org/trunk@34159


git-svn-id: http://core.svn.wordpress.org/trunk@34127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-15 01:31:26 +00:00
parent 31c2bfd69d
commit 387f271ea5
3 changed files with 4 additions and 4 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() );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34158';
$wp_version = '4.4-alpha-34159';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.