From 5497a287a3279cf7c0999c40b87f95c6d82cef3e Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 6 May 2018 20:17:35 -0400 Subject: #546 delete from timeline --- www/js/MomentCtrl.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/js/MomentCtrl.js') diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js index 97f864b7..6bcf5476 100644 --- a/www/js/MomentCtrl.js +++ b/www/js/MomentCtrl.js @@ -570,6 +570,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$ $scope.modal.remove(); } + if ($scope.modalData.doRefresh) getMoments(momentType, timeTo); }; //---------------------------------------------------------------- @@ -597,6 +598,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$ sl = 'enabled'; } + $scope.modalData = {doRefresh:false}; $ionicModal.fromTemplateUrl('templates/events-modal.html', { scope: $scope, animation: 'slide-in-up', -- cgit v1.2.3