Changeset 21781
- Timestamp:
- 09/07/2012 03:49:20 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.css
r21770 r21781 3201 3201 3202 3202 #postcustomstuff .submit input, 3203 #postcustomstuff table # addmetasub{3203 #postcustomstuff table #newmeta-submit { 3204 3204 width: auto; 3205 3205 } -
trunk/wp-admin/includes/template.php
r21742 r21781 494 494 $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false ); 495 495 $r .= "\n\t\t"; 496 $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , 'updatemeta', false );496 $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , "meta-{$entry['meta_id']}-submit", false ); 497 497 $r .= "</div>"; 498 498 $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); … … 555 555 556 556 <tr><td colspan="2" class="submit"> 557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => ' addmetasub' ) ); ?>557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?> 558 558 <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?> 559 559 </td></tr> -
trunk/wp-includes/js/wp-lists.js
r21737 r21781 79 79 return false; 80 80 81 if ( !e.is('[id="' + s. what + '-add-submit"]') )81 if ( !e.is('[id="' + s.element + '-submit"]') ) 82 82 return !wpList.add.call( list, e, s ); 83 83
Note: See TracChangeset
for help on using the changeset viewer.