diff --git a/combo/manager/static/js/combo.manager.js b/combo/manager/static/js/combo.manager.js index f1433572..39d620d7 100644 --- a/combo/manager/static/js/combo.manager.js +++ b/combo/manager/static/js/combo.manager.js @@ -91,7 +91,14 @@ $(function() { data: $form.serialize(), type: 'POST', beforeSend: function() { $button.attr('disabled', 'disabled'); }, - success: function() { $button.attr('disabled', null); } + success: function() { + $button.attr('disabled', null); + $.getJSON($form.data('label-url'), + function(data) { + $form.parents('div.cell').find('.additional-label i').text(data['label']); + } + ); + } }); return false; }); diff --git a/combo/manager/templates/combo/cell_form.html b/combo/manager/templates/combo/cell_form.html index 37a30f62..3152d3e9 100644 --- a/combo/manager/templates/combo/cell_form.html +++ b/combo/manager/templates/combo/cell_form.html @@ -1,5 +1,5 @@ {% load i18n %} -