WordPress.org

Make WordPress Core

Changeset 10260


Ignore:
Timestamp:
12/30/2008 05:41:34 PM (12 years ago)
Author:
ryan
Message:

s/sumbit/submit/. Props Malaiac. fixes #8645 for 2.7

Location:
branches/2.7/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/edit-link-form.php

    r10173 r10260  
    119119        <label class="hidden" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
    120120        <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" aria-required="true" />
    121         <input type="button" id="category-add-sumbit" class="add:categorychecklist:linkcategorydiv button" value="<?php _e( 'Add' ); ?>" />
     121        <input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php _e( 'Add' ); ?>" />
    122122        <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
    123123        <span id="category-ajax-response"></span>
  • branches/2.7/wp-admin/js/link.js

    r9703 r10260  
    1212    // Ajax Cat
    1313    var newCat = jQuery('#newcat').one( 'focus', function() { jQuery(this).val( '' ).removeClass( 'form-input-tip' ) } );
    14     jQuery('#category-add-sumbit').click( function() { newCat.focus(); } );
     14    jQuery('#category-add-submit').click( function() { newCat.focus(); } );
    1515    var noSyncChecks = false; // prophylactic. necessary?
    1616    var syncChecks = function() {
Note: See TracChangeset for help on using the changeset viewer.