diff options
| -rw-r--r-- | www/js/LoginCtrl.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index b968c087..02a39f73 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -272,6 +272,8 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r template: 'Please explore the menu and enjoy zmNinja!' }).then(function (res) { $ionicSideMenuDelegate.toggleLeft(); + ZMDataModel.zmDebug ("Force reloading monitors..."); + var refresh = ZMDataModel.getMonitors(1); }); }) @@ -291,6 +293,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r $scope.saveItems = function () { saveItems(); + }; |
