summaryrefslogtreecommitdiff
path: root/www/js/BookmarkCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-12-28 07:47:05 -0500
committerPliable Pixels <pliablepixels@gmail.com>2018-12-28 07:47:05 -0500
commitc07d973c02d9fba7f7ee744a96f4a684426243b0 (patch)
treee16ac6f15a742def2109df7762f8f7bdeb2603f5 /www/js/BookmarkCtrl.js
parentd7c871c203618ead83871cb321373241fae33c97 (diff)
rename DataModel to NVR - more logical
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 = [];