summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index c63fac37..7ebc764b 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -23,6 +23,8 @@ angular.module('zmApp.controllers')
$scope.days = [];
$scope.weeks = [];
$scope.months = [];
+
+ $scope.minAlarmCount = "1";
$scope.eventList = {
showDelete: false
@@ -1382,6 +1384,11 @@ angular.module('zmApp.controllers')
loadMore();
};
+
+ $scope.toggleMinAlarmFrameCount = function () {
+ console.log ("Toggling");
+ $scope.minAlarmCount = ($scope.minAlarmCount == '0') ? '1':'0';
+ };
//--------------------------------------