mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Auto Focus on first item on forms.
This commit is contained in:
@@ -705,4 +705,9 @@ $(document).ready( function() {
|
||||
return anchor;
|
||||
});
|
||||
|
||||
// Auto Focus on first item on form
|
||||
if ( $("*:focus").html() == null ) {
|
||||
$(":input:not([type=hidden]):visible:enabled:first").focus();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user