Commit 49e4ffbe by cahrens

Work around for JQuery sortable bug (placeholder smaller than component).

STUD-1967
parent 620e9906
......@@ -20,6 +20,12 @@ define(["jquery", "underscore", "js/views/xblock", "js/utils/module", "gettext",
reorderableContainer.sortable({
handle: '.drag-handle',
start: function (event, ui) {
// Necessary because of an open bug in JQuery sortable.
// http://bugs.jqueryui.com/ticket/4990
reorderableContainer.sortable('refreshPositions');
},
stop: function (event, ui) {
var saving, hideSaving, removeFromParent;
......
......@@ -160,7 +160,6 @@ class DragAndDropTest(NestedVerticalTest):
expected_ordering
)
@skip("Sporadically drags outside of the Group.")
def test_reorder_in_group(self):
"""
Drag Group A Item 2 before Group A Item 1.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment