Changeset 34105
- Timestamp:
- 09/14/2015 02:02:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/post.js
r34069 r34105 781 781 782 782 slug_value = ( c > full.length / 4 ) ? '' : full; 783 e.html('<input type="text" id="new-post-slug" value="'+slug_value+'" />').children('input').keypress(function(e) {783 e.html('<input type="text" id="new-post-slug" value="'+slug_value+'" autocomplete="off" />').children('input').keypress(function(e) { 784 784 var key = e.keyCode || 0; 785 785 // on enter, just save the new slug, don't save the post
Note: See TracChangeset
for help on using the changeset viewer.