Ticket #26034: 26034.patch
File 26034.patch, 818 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/link.js
1 /* global postboxes, deleteUserSetting, setUserSetting, getUserSetting */ 2 1 3 jQuery(document).ready( function($) { 2 4 3 5 var newCat, noSyncChecks = false, syncChecks, catAddAfter; … … 22 24 $('#category-tabs a[href="#categories-pop"]').click(); 23 25 24 26 // Ajax Cat 25 newCat = $('#newcat').one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } );27 newCat = $('#newcat').one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ); } ); 26 28 $('#link-category-add-submit').click( function() { newCat.focus(); } ); 27 29 syncChecks = function() { 28 30 if ( noSyncChecks )