This commit is contained in:
Julian Lam
2014-02-25 17:07:27 -05:00
parent ee44778e2b
commit f5d1ba4231
3 changed files with 6 additions and 2 deletions

View File

@@ -139,6 +139,7 @@ define(['forum/admin/settings'], function(Settings) {
helper: function(e) {
return $(e.target).parents('.panel').clone().addClass('block').width($(e.target.parentNode).width());
},
distance: 10,
connectToSortable: ".widget-area"
});
@@ -148,7 +149,8 @@ define(['forum/admin/settings'], function(Settings) {
target = target.attr('data-container-html') ? target : target.parents('[data-container-html]');
return target.clone().addClass('block').width(target.width()).css('opacity', '0.5');
}
},
distance: 10
});
function appendToggle(el) {