summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/EventCtrl.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index e350f512..b2caf1d5 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -1814,11 +1814,25 @@ angular.module('zmApp.controllers')
// data for events ranges summaries using the consolveEvents facility of ZM
//--------------------------------------------------------------------------
+
+ $scope.footerToggle = function() {
+
+ if ($scope.footerState == ionPullUpFooterState.EXPANDED)
+ $scope.footerCollapse();
+ else
+ $scope.footerExpand();
+ };
+
$scope.footerExpand = function () {
+ $scope.footerState = ionPullUpFooterState.EXPANDED;
footerExpand();
};
+ $scope.footerCollapse = function() {
+ $scope.footerState = ionPullUpFooterState.MINIMIZED;
+ };
+
function footerExpand() {
//https://server/zm/api/events/consoleEvents/5%20minute.json
var ld = NVRDataModel.getLogin();