Ticket #1521: meta-1521.patch
File meta-1521.patch, 1.3 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
334 334 335 335 // Allow action text inputs to be clicked directly. 336 336 $('#action') 337 .find('input[type=text] ').enable().focus( function() {337 .find('input[type=text], select').enable().focus( function() { 338 338 $(this).siblings('input[type=radio]').click(); 339 339 }).end() 340 340 .find('input[name=action]').unbind('click').end() … … 342 342 $(this).siblings('select').enable(); 343 343 }); 344 344 345 // Hide action text inputs from keyboard, unless the corresponding action is focused 346 $('#action') 347 .find('input[type=text], select').each( function() { 348 $(this).attr('tabindex', '-1'); 349 }).end() 350 .find('input').blur( function() { 351 $(this).parent().find('input[type=text], select').attr('tabindex', '-1'); 352 }).focus( function() { 353 $(this).parent().find('input[type=text], select').removeAttr('tabindex'); 354 }); 355 345 356 // Clear the milestone on wontfix, duplicate, worksforme, invalid 346 357 var milestone = $('#field-milestone'); 347 358 if ( ! milestone.prop('disabled') ) {