Browse files

Adding selectFirst to depends on field too...

  • Loading branch information...
1 parent 668ef4f commit 9bc79bf80e0e8dba5752a95c0e8c356df0e466ea tim madden committed with lrbalt Mar 2, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 public/javascripts/application.js
View
3 public/javascripts/application.js
@@ -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() */

0 comments on commit 9bc79bf

Please sign in to comment.