WordPress.org

Make WordPress Core

Ticket #3895: 3895.diff

File 3895.diff, 1.3 KB (added by mdawaffe, 7 years ago)
  • wp-admin/cat.js

     
    44        var jaxcat = $('jaxcat'); 
    55        if ( !jaxcat ) 
    66                return false; 
    7         Element.update(jaxcat,'<span id="ajaxcat"><input type="text" name="newcat" id="newcat" size="16" autocomplete="off"/><input type="button" name="Button" id="catadd" value="' + catL10n.add + '"/><span id="howto">' + catL10n.how + '</span></span>'); 
     7        Element.update(jaxcat,'<span id="ajaxcat"><input type="text" name="newcat" id="newcat" size="16" autocomplete="off"/><input type="button" name="Button" id="catadd" value="' + catL10n.add + '"/><input type="hidden"/><span id="howto">' + catL10n.how + '</span></span>'); 
    88        $('newcat').onkeypress = function(e) { return killSubmit("catList.ajaxAdder('category','jaxcat');", e); }; 
    99        $('catadd').onclick = function() { catList.ajaxAdder('category', 'jaxcat'); }; 
    1010} 
  • wp-admin/dbx-admin-key.js

     
    1 addLoadEvent( function() {var manager = new dbxManager( dbxL10n.mananger );} ); 
     1addLoadEvent( function() {var manager = new dbxManager( dbxL10n.manager );} ); 
    22 
    33addLoadEvent( function() 
    44{