diff --git a/cms/static/js/base.js b/cms/static/js/base.js index 822628c9dd..b2a0f74f81 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -90,7 +90,7 @@ function saveNewComponent(e) { model: new CMS.Models.Module() }) - $('.components').append(editor.$el) + $newComponentItem.before(editor.$el) editor.cloneTemplate($(this).data('location'))