From d3a734d211a168ab8445842dd29ca484ec71e842 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 1 Oct 2012 15:46:44 -0400 Subject: [PATCH] Insert new modules in front of the new component box --- cms/static/js/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))