Fix widget drafts position

v1.18.x
Charles 11 years ago
parent 76190718d3
commit 86634415da

@ -161,7 +161,7 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
}; };
Themes.prepareWidgets = function() { Themes.prepareWidgets = function() {
$('[data-location="drafts"]').insertAfter($('[data-location="drafts"]').parents('.tab-content')); $('[data-location="drafts"]').insertAfter($('[data-location="drafts"]').closest('.tab-content'));
$('#widgets .available-widgets .panel').draggable({ $('#widgets .available-widgets .panel').draggable({
helper: function(e) { helper: function(e) {

Loading…
Cancel
Save