Changeset 21688
- Timestamp:
- 08/31/2012 06:20:28 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r21664 r21688 687 687 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 688 688 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 689 <input type="button" id=" category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />689 <input type="button" id="link-category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" /> 690 690 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> 691 691 <span id="category-ajax-response"></span> -
trunk/wp-admin/js/link.js
r21592 r21688 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 )
Note: See TracChangeset
for help on using the changeset viewer.