mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
31c2bfd69d
commit
387f271ea5
@ -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() );
|
||||
|
2
wp-admin/js/edit-comments.min.js
vendored
2
wp-admin/js/edit-comments.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user