Show notification on component reorder.

This commit is contained in:
Peter Fogg
2013-08-01 11:56:16 -04:00
parent cadb81355e
commit 8bd686d63c

View File

@@ -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'