Insert new modules in front of the new component box

This commit is contained in:
Calen Pennington
2012-10-01 15:46:44 -04:00
parent f4b8bfe428
commit d3a734d211

View File

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