WordPress.org

Make WordPress Core

Changeset 5280


Ignore:
Timestamp:
04/17/2007 08:56:41 PM (11 years ago)
Author:
ryan
Message:

AJAXcat fixes and FF workaround from mdawaffe. fixes #3895

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/cat.js

    r4970 r5280  
    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'); };
  • trunk/wp-admin/dbx-admin-key.js

    r4970 r5280  
    1 addLoadEvent( function() {var manager = new dbxManager( dbxL10n.mananger );} );
     1addLoadEvent( function() {var manager = new dbxManager( dbxL10n.manager );} );
    22
    33addLoadEvent( function()
  • trunk/wp-includes/script-loader.php

    r5230 r5280  
    7979            endswitch;
    8080            if ( $man ) {
    81                 $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key.js', array('dbx'), '20070306' );
     81                $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key.js', array('dbx'), '20070417' );
    8282                $this->localize( 'dbx-admin-key', 'dbxL10n', array(
    8383                    'manager' => $man,
     
    9090                ) );
    9191            }
    92             $this->add( 'ajaxcat', '/wp-admin/cat.js', array('listman'), '20070306' );
     92            $this->add( 'ajaxcat', '/wp-admin/cat.js', array('listman'), '20070417' );
    9393            $this->localize( 'ajaxcat', 'catL10n', array(
    9494                'add' => attribute_escape(__('Add')),
Note: See TracChangeset for help on using the changeset viewer.