Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit c482dc7

Browse files
committed
Fixed search in modal
1 parent adae2b3 commit c482dc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/js/controllers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ angular.module('myApp.controllers', [])
342342
$scope.dialogs = [];
343343
$scope.contacts = [];
344344
$scope.contactsLoaded = false;
345+
if ($scope.search === undefined) {
346+
$scope.search = {};
347+
}
345348
$scope.phonebookAvailable = PhonebookContactsService.isAvailable();
346349

347350
var offset = 0,

0 commit comments

Comments
 (0)