summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-11-02 14:56:45 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-11-02 14:56:45 -0400
commit479b09f62d150cd56990be3d638c6b5f9dc5587c (patch)
treeba3361ab9418ebb755289f70450d25d51168e700 /www/js/MontageCtrl.js
parent22c27c6b6e53c17604f03466f573241c6e801a15 (diff)
bazillion changes/cleanup - I think I got the big offender it was unload handler in app.js #550
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index e2e26c00..92bec795 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -730,20 +730,21 @@ angular.module('zmApp.controllers')
{
$rootScope.isAlarm = !$rootScope.isAlarm;
if (!$rootScope.isAlarm)
+ // if (1)
{
$rootScope.alarmCount = "0";
$ionicHistory.nextViewOptions(
{
disableBack: true
});
- $state.go("events",
+ $state.go("app.events",
{
"id": 0,
"playEvent": false
- },
+ }/*,
{
reload: true
- });
+ }*/);
return;
}
};
@@ -767,7 +768,7 @@ angular.module('zmApp.controllers')
{
disableBack: true
});
- $state.go("events",
+ $state.go("app.events",
{
"id": 0,
"playEvent": false
@@ -811,7 +812,7 @@ angular.module('zmApp.controllers')
disableAnimate: true,
disableBack: true
});
- $state.go("montage",
+ $state.go("app.montage",
{
minimal: $scope.minimal,
isRefresh: true
@@ -934,7 +935,7 @@ angular.module('zmApp.controllers')
{
$scope.MontageMonitors[ndx].Monitor.selectStyle = "dragborder-selected";
}
- //console.log ("Switched value to " + $scope.MontageMonitors[ndx].Monitor.selectStyle);
+ //console.log ("Switched value to " + $scope.MontageMonitors[ndx] .Monitor.selectStyle);
};
//---------------------------------------------------------------------
@@ -1157,7 +1158,6 @@ angular.module('zmApp.controllers')
$interval.cancel(intervalHandleMontageCycle);
$interval.cancel(intervalHandleAlarmStatus);
// $interval.cancel(modalIntervalHandle);
-
// FIXME: Do I need to setAwake(false) here?
}
@@ -1651,7 +1651,7 @@ angular.module('zmApp.controllers')
{
disableBack: true
});
- $state.go("login",
+ $state.go("app.login",
{
"wizard": false
});