|
|
@ -595,6 +595,11 @@ angular.module('myApp.directives', ['myApp.filters']) |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
$scope.$emit('esc_no_more'); |
|
|
|
$scope.$emit('esc_no_more'); |
|
|
|
|
|
|
|
// Strange Chrome bug, when field doesn't get blur, but becomes inactive after location change
|
|
|
|
|
|
|
|
setTimeout(function () { |
|
|
|
|
|
|
|
searchField.blur(); |
|
|
|
|
|
|
|
searchField.focus(); |
|
|
|
|
|
|
|
}, 100); |
|
|
|
} |
|
|
|
} |
|
|
|
return cancelEvent(e); |
|
|
|
return cancelEvent(e); |
|
|
|
} |
|
|
|
} |
|
|
|