From 8bd686d63cbd46775f35faddddcf0baaffcba310 Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Thu, 1 Aug 2013 11:56:16 -0400 Subject: [PATCH] Show notification on component reorder. --- cms/static/coffee/src/views/unit.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cms/static/coffee/src/views/unit.coffee b/cms/static/coffee/src/views/unit.coffee index 14b64b7b9e..fd679c289b 100644 --- a/cms/static/coffee/src/views/unit.coffee +++ b/cms/static/coffee/src/views/unit.coffee @@ -41,7 +41,12 @@ class CMS.Views.UnitEdit extends Backbone.View id: unit_location_analytics payload = children : @components() - options = success : => @model.unset('children') + saving = new CMS.Views.Notification.Mini + title: gettext('Saving') + '…' + saving.show() + options = success : => + @model.unset('children') + saving.hide() @model.save(payload, options) helper: 'clone' opacity: '0.5'