Make WordPress Core

Changeset 5816


Ignore:
Timestamp:
07/24/2007 09:40:58 PM (17 years ago)
Author:
ryan
Message:

fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664

Location:
trunk
Files:
2 edited

Legend:

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

    r5631 r5816  
    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 + '"/><input type="hidden"/><span id="howto">' + catL10n.how + '</span></span>');
     7    // These multiple blank hidden inputs are needed: https://bugzilla.mozilla.org/show_bug.cgi?id=377815 , #3895 , #4664
     8    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"/><input type="hidden"/><span id="howto">' + catL10n.how + '</span></span>');
    89    $('newcat').onkeypress = function(e) { return killSubmit("catList.ajaxAdder('category','jaxcat');", e); };
    910    $('catadd').onclick = function() { catList.ajaxAdder('category', 'jaxcat'); };
  • trunk/wp-includes/script-loader.php

    r5808 r5816  
    105105                ) );
    106106            }
    107             $this->add( 'ajaxcat', '/wp-admin/js/cat.js', array('listman'), '20070417' );
     107            $this->add( 'ajaxcat', '/wp-admin/js/cat.js', array('listman'), '20070724' );
    108108            $this->localize( 'ajaxcat', 'catL10n', array(
    109109                'add' => attribute_escape(__('Add')),
Note: See TracChangeset for help on using the changeset viewer.