Studio: changes drag and drop container to new .wrapper-dnd on outline/subsection views

This commit is contained in:
Brian Talbot
2013-10-08 17:24:00 -04:00
parent 779ff4fd38
commit bbe906f77f
3 changed files with 83 additions and 78 deletions

View File

@@ -284,7 +284,7 @@ define(["domReady", "jquery", "jquery.ui", "gettext", "js/views/feedback_notific
$(ele).data('child-selector', type);
var draggable = new Draggabilly(ele, {
handle: handleClass,
axis: 'y'
containment: '.wrapper-dnd'
});
draggable.on('dragStart', _.bind(overviewDragger.onDragStart, overviewDragger));
draggable.on('dragMove', _.bind(overviewDragger.onDragMove, overviewDragger));