summaryrefslogtreecommitdiff
path: root/www/js/MomentCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-23 10:58:33 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-23 10:58:33 -0500
commit976f50450cf338d03306ec715f6138ca19750d21 (patch)
treefd3da84d7744977db204a2843bfe5506747c0251 /www/js/MomentCtrl.js
parent3a731c5d48218e403e025f3b91c69ffbb66a0203 (diff)
#576 eliminate reload for filters
Diffstat (limited to 'www/js/MomentCtrl.js')
-rw-r--r--www/js/MomentCtrl.js1
1 files changed, 1 insertions, 0 deletions
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;
};