summaryrefslogtreecommitdiff
path: root/www/js/BookmarkCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/BookmarkCtrl.js')
-rw-r--r--www/js/BookmarkCtrl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/BookmarkCtrl.js b/www/js/BookmarkCtrl.js
index b84041c7..57de1ccd 100644
--- a/www/js/BookmarkCtrl.js
+++ b/www/js/BookmarkCtrl.js
@@ -2,7 +2,7 @@
/* jslint browser: true*/
/* global cordova,StatusBar,angular,console, Masonry */
-angular.module('zmApp.controllers').controller('zmApp.BookmarkCtrl', ['$scope', '$rootScope', '$ionicModal', 'NVRDataModel', '$ionicSideMenuDelegate', '$ionicHistory', '$state', '$translate', '$q', '$templateRequest', '$sce', '$compile', function ($scope, $rootScope, $ionicModal, NVRDataModel, $ionicSideMenuDelegate, $ionicHistory, $state, $translate, $q, $templateRequest, $sce, $compile) {
+angular.module('zmApp.controllers').controller('zmApp.BookmarkCtrl', ['$scope', '$rootScope', '$ionicModal', 'NVR', '$ionicSideMenuDelegate', '$ionicHistory', '$state', '$translate', '$q', '$templateRequest', '$sce', '$compile', function ($scope, $rootScope, $ionicModal, NVR, $ionicSideMenuDelegate, $ionicHistory, $state, $translate, $q, $templateRequest, $sce, $compile) {
$scope.openMenu = function () {
$ionicSideMenuDelegate.toggleLeft();
};
@@ -37,7 +37,7 @@ angular.module('zmApp.controllers').controller('zmApp.BookmarkCtrl', ['$scope',
//------------------------------------------------------------------------
$scope.$on('$ionicView.beforeEnter', function () {
//console.log("**VIEW ** Help Ctrl Entered");
- NVRDataModel.setAwake(false);
+ NVR.setAwake(false);
$scope.bookmarks = [];