Changeset 10255
- Timestamp:
- 12/26/2008 03:09:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/post.js
r10222 r10255 102 102 jQuery('.ajaxtag input.tagadd').click(function(){tag_flush_to_text(jQuery(this).parents('.tagsdiv').attr('id'));}); 103 103 jQuery('.ajaxtag input.newtag').focus(function() { 104 if ( this.value == postL10n.addTag ) { 104 if ( !this.cleared ) { 105 this.cleared = true; 105 106 jQuery(this).val( '' ).removeClass( 'form-input-tip' ); 106 107 } … … 109 110 jQuery('.ajaxtag input.newtag').blur(function() { 110 111 if ( this.value == '' ) { 112 this.cleared = false; 111 113 jQuery(this).val( postL10n.addTag ).addClass( 'form-input-tip' ); 112 114 }
Note: See TracChangeset
for help on using the changeset viewer.