From 976f50450cf338d03306ec715f6138ca19750d21 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 23 Dec 2017 10:58:33 -0500 Subject: #576 eliminate reload for filters --- www/js/MomentCtrl.js | 1 + 1 file changed, 1 insertion(+) (limited to 'www/js/MomentCtrl.js') diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js index 64631f89..1cb080b3 100644 --- a/www/js/MomentCtrl.js +++ b/www/js/MomentCtrl.js @@ -267,6 +267,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$ NVRDataModel.log ("Uh oh, ndx returned -1, this should never happen. Event passed was "+eid); return; } + $scope.moments[ndx].Event.pinned = !$scope.moments[ndx].Event.pinned; }; -- cgit v1.2.3