Work around for JQuery sortable bug (placeholder smaller than component).
STUD-1967
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user