mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 16:43:26 +02:00
Auto-focus search input on Tab select.
This commit is contained in:
@@ -13,7 +13,9 @@ module.exports = function focusElementDirective($parse, $timeout) {
|
||||
})
|
||||
|
||||
element.bind('blur', function () {
|
||||
scope.$apply(model.assign(scope, false))
|
||||
if (model && model.assign) {
|
||||
scope.$apply(model.assign(scope, false))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user