Skip to content

Commit

Permalink
Adding selectFirst to depends on field too...
Browse files Browse the repository at this point in the history
  • Loading branch information
tim madden authored and lrbalt committed Mar 2, 2011
1 parent 668ef4f commit 9bc79bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,8 @@ function enable_rich_interaction(){
$(form).find('input[name=predecessor_input]').val('');
$(form).find('input[name=predecessor_input]').focus();
return false;
}
},
selectFirst: true
});

/* have to bind on keypress because of limitations of live() */
Expand Down

0 comments on commit 9bc79bf

Please sign in to comment.