From 34826a67c3cfef94620e116bea126fef73ff3775 Mon Sep 17 00:00:00 2001 From: Jamie Pratt Date: Fri, 27 Jul 2012 12:54:50 +0700 Subject: [PATCH] MDL-47494 ddwtos: OU-4200 Fix for broken drag and drop with YUI 3.5.1 --- question/type/ddwtos/yui/dd/dd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/ddwtos/yui/dd/dd.js b/question/type/ddwtos/yui/dd/dd.js index e2a87ba9391..0e5654a9c44 100644 --- a/question/type/ddwtos/yui/dd/dd.js +++ b/question/type/ddwtos/yui/dd/dd.js @@ -206,7 +206,7 @@ YUI.add('moodle-qtype_ddwtos-dd', function(Y) { var group = this.get_group(drag); var dd = new Y.DD.Drag({ node: drag, - dragMode: 'intersect' + dragMode: 'point' }).plug(Y.Plugin.DDConstrained, {constrain2node: this.selectors.top_node()}); }, make_drop_zones : function () {