Changeset 21717
- Timestamp:
- 09/04/2012 03:17:11 AM (12 years ago)
- Location:
- branches/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4/wp-admin/includes/meta-boxes.php
r21108 r21717 689 689 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 690 690 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 691 <input type="button" id=" category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />691 <input type="button" id="link-category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" /> 692 692 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> 693 693 <span id="category-ajax-response"></span> -
branches/3.4/wp-admin/js/link.dev.js
r18027 r21717 24 24 // Ajax Cat 25 25 newCat = $('#newcat').one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } ); 26 $('# category-add-submit').click( function() { newCat.focus(); } );26 $('#link-category-add-submit').click( function() { newCat.focus(); } ); 27 27 syncChecks = function() { 28 28 if ( noSyncChecks ) -
branches/3.4/wp-includes/js/wp-lists.dev.js
r17981 r21717 79 79 return false; 80 80 81 if ( !e.is('[ class^="add:' + list.id + ':"]') )81 if ( !e.is('[id="' + s.what + '-add-submit"]') ) 82 82 return !wpList.add.call( list, e, s ); 83 83
Note: See TracChangeset
for help on using the changeset viewer.