Changeset 32869
- Timestamp:
- 06/19/2015 09:41:07 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r32752 r32869 1530 1530 ?> 1531 1531 <p class="submit inline-edit-save"> 1532 < a href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>1532 <button type="button" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></button> 1533 1533 <?php if ( ! $bulk ) { 1534 1534 wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); 1535 1535 ?> 1536 < a href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>1536 <button type="button" class="button-primary save alignright"><?php _e( 'Update' ); ?></button> 1537 1537 <span class="spinner"></span> 1538 1538 <?php } else { -
trunk/src/wp-admin/js/inline-edit-post.js
r32716 r32869 23 23 }); 24 24 25 $( 'a.cancel', qeRow).click(function(){25 $( '.cancel', qeRow ).click( function() { 26 26 return inlineEditPost.revert(); 27 27 }); 28 $( 'a.save', qeRow).click(function(){28 $( '.save', qeRow ).click( function() { 29 29 return inlineEditPost.save(this); 30 30 }); … … 35 35 }); 36 36 37 $( 'a.cancel', bulkRow).click(function(){37 $( '.cancel', bulkRow ).click( function() { 38 38 return inlineEditPost.revert(); 39 39 });
Note: See TracChangeset
for help on using the changeset viewer.