Focus input on watcher selector

stable
Alejandro Alonso 2014-07-04 13:31:38 +02:00
parent 41c9689b7b
commit 1642917788
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ AddAssignedToDirective = () ->
$scope.watcherSearch = {}
$scope.$on "assigned-to:add", ->
$el.removeClass("hidden")
$el.find("input").focus()
$scope.$apply ->
$scope.watcherSearch = {}