Fixed photo forward search peer

This commit is contained in:
Igor Zhukov 2014-06-27 21:52:24 +04:00
parent 6abdaf198b
commit 2249b80ea5
2 changed files with 5 additions and 2 deletions

View File

@ -349,6 +349,9 @@ angular.module('myApp.controllers', [])
if ($scope.search === undefined) { if ($scope.search === undefined) {
$scope.search = {}; $scope.search = {};
} }
if ($scope.isEmpty === undefined) {
$scope.isEmpty = {};
}
$scope.phonebookAvailable = PhonebookContactsService.isAvailable(); $scope.phonebookAvailable = PhonebookContactsService.isAvailable();
var offset = 0, var offset = 0,

View File

@ -1348,7 +1348,7 @@ angular.module('myApp.directives', ['myApp.filters'])
var onKeyDown = function (event) { var onKeyDown = function (event) {
var target = event.target; var target = event.target;
if (target && (target.tagName == 'INPUT' || target.tagName == 'TEXTAREA')) { if (target && (target.tagName == 'INPUT' || target.tagName == 'TEXTAREA')) {
return false; return;
} }
switch (event.keyCode) { switch (event.keyCode) {