From 7081bd189e6cf71b9f2eb03b3e0e322042666df6 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 31 Aug 2014 19:54:12 -0700 Subject: [PATCH] New: show indicator when deleting a series --- src/UI/Series/Delete/DeleteSeriesTemplate.hbs | 1 + src/UI/Series/Delete/DeleteSeriesView.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/UI/Series/Delete/DeleteSeriesTemplate.hbs b/src/UI/Series/Delete/DeleteSeriesTemplate.hbs index 34be9cc7e..b54049b6d 100644 --- a/src/UI/Series/Delete/DeleteSeriesTemplate.hbs +++ b/src/UI/Series/Delete/DeleteSeriesTemplate.hbs @@ -40,6 +40,7 @@ diff --git a/src/UI/Series/Delete/DeleteSeriesView.js b/src/UI/Series/Delete/DeleteSeriesView.js index e3808e73b..672141fe7 100644 --- a/src/UI/Series/Delete/DeleteSeriesView.js +++ b/src/UI/Series/Delete/DeleteSeriesView.js @@ -13,12 +13,14 @@ define( }, ui: { - deleteFiles: '.x-delete-files' + deleteFiles : '.x-delete-files', + indicator : '.x-indicator' }, removeSeries: function () { var self = this; var deleteFiles = this.ui.deleteFiles.prop('checked'); + this.ui.indicator.show(); this.model.destroy({ data: { 'deleteFiles': deleteFiles },