Make WordPress Core

Changeset 10255


Ignore:
Timestamp:
12/26/2008 03:09:32 AM (15 years ago)
Author:
azaozz
Message:

Fix l10n bug in post taxonomy js, props tellyworth, fixes #8717

File:
1 edited

Legend:

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

    r10222 r10255  
    102102    jQuery('.ajaxtag input.tagadd').click(function(){tag_flush_to_text(jQuery(this).parents('.tagsdiv').attr('id'));});
    103103    jQuery('.ajaxtag input.newtag').focus(function() {
    104         if ( this.value == postL10n.addTag ) {
     104        if ( !this.cleared ) {
     105            this.cleared = true;
    105106            jQuery(this).val( '' ).removeClass( 'form-input-tip' );
    106107        }
     
    109110    jQuery('.ajaxtag input.newtag').blur(function() {
    110111        if ( this.value == '' ) {
     112            this.cleared = false;
    111113            jQuery(this).val( postL10n.addTag ).addClass( 'form-input-tip' );
    112114        }
Note: See TracChangeset for help on using the changeset viewer.