Changeset 6602
- Timestamp:
- 01/12/2008 03:54:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/post.js
r6597 r6602 72 72 jQuery('#jaxtag').prepend('<span id="ajaxtag"><input type="text" name="newtag" id="newtag" class="form-input-tip" size="16" autocomplete="off" value="'+postL10n.addTag+'" /><input type="button" class="button" id="tagadd" value="' + postL10n.add + '"/><input type="hidden"/><input type="hidden"/><span class="howto">'+postL10n.separate+'</span></span>'); 73 73 jQuery('#tagadd').click( tag_flush_to_text ); 74 // jQuery('#newtag').keydown( tag_press_key );75 74 jQuery('#newtag').focus(function() { 76 75 if ( this.value == postL10n.addTag ) … … 83 82 84 83 // auto-suggest stuff 85 jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text, delay: 500, minchars: 2 } ); 84 jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { delay: 500, minchars: 2 } ); 85 jQuery('#newtag').keypress( tag_press_key ); 86 86 87 87 // postboxes
Note: See TracChangeset
for help on using the changeset viewer.