Changeset 34159
- Timestamp:
- 09/15/2015 01:30:36 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/edit-comments.js
r34094 r34159 541 541 $('a.cancel', row).click(function() { return commentReply.revert(); }); 542 542 $('a.save', row).click(function() { return commentReply.send(); }); 543 $( 'input#author, input#author-email, input#author-url', row).keypress(function(e){543 $( 'input#author-name, input#author-email, input#author-url', row ).keypress( function( e ) { 544 544 if ( e.which == 13 ) { 545 545 commentReply.send(); … … 642 642 643 643 if ( action == 'edit' ) { 644 $( '#author', editRow).val( $('div.author', rowData).text() );644 $( '#author-name', editRow ).val( $( 'div.author', rowData ).text() ); 645 645 $('#author-email', editRow).val( $('div.author-email', rowData).text() ); 646 646 $('#author-url', editRow).val( $('div.author-url', rowData).text() );
Note: See TracChangeset
for help on using the changeset viewer.