Commit cc6ca29b by Peter Fogg

Merge pull request #550 from edx/peter-fogg/unit-reorder-notification

Show notification on component reorder.
parents cadb8135 8bd686d6
...@@ -41,7 +41,12 @@ class CMS.Views.UnitEdit extends Backbone.View ...@@ -41,7 +41,12 @@ class CMS.Views.UnitEdit extends Backbone.View
id: unit_location_analytics id: unit_location_analytics
payload = children : @components() 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) @model.save(payload, options)
helper: 'clone' helper: 'clone'
opacity: '0.5' opacity: '0.5'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment