summaryrefslogtreecommitdiff
path: root/www/js/TimelineCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-05-06 20:17:35 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-05-06 20:17:35 -0400
commit5497a287a3279cf7c0999c40b87f95c6d82cef3e (patch)
treedacf4090e2ffccf4c5ea5d17ed2275261383769b /www/js/TimelineCtrl.js
parentff07a9382e088ff97118c736dfc2435dd29bd649 (diff)
#546 delete from timeline
Diffstat (limited to 'www/js/TimelineCtrl.js')
-rw-r--r--www/js/TimelineCtrl.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js
index 633fe454..5795d0a4 100644
--- a/www/js/TimelineCtrl.js
+++ b/www/js/TimelineCtrl.js
@@ -199,6 +199,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla
sl = 'enabled';
}
+ $scope.modalData = {doRefresh:false};
$ionicModal.fromTemplateUrl('templates/events-modal.html',
{
scope: $scope, // give ModalCtrl access to this scope
@@ -243,6 +244,12 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla
$scope.modal.remove();
}
+ if ($scope.modalData.doRefresh) {
+
+ $timeout (function() {drawGraph ($scope.fromDate, $scope.toDate, maxItems );},500);
+
+ }
+
};
/* $scope.toggleGapless = function()