@ -349,6 +349,9 @@ angular.module('myApp.controllers', [])
if ($scope.search === undefined) {
$scope.search = {};
}
if ($scope.isEmpty === undefined) {
$scope.isEmpty = {};
$scope.phonebookAvailable = PhonebookContactsService.isAvailable();
var offset = 0,
@ -1348,7 +1348,7 @@ angular.module('myApp.directives', ['myApp.filters'])
var onKeyDown = function (event) {
var target = event.target;
if (target && (target.tagName == 'INPUT' || target.tagName == 'TEXTAREA')) {
return false;
return;
switch (event.keyCode) {