Browse files

Merge branch 'MDL-35715-MOODLE_23_STABLE' of git://git.luns.net.uk/mo…

…odle into MOODLE_23_STABLE
  • Loading branch information...
2 parents ca93b3a + 1a2b345 commit 5ba6db698d7f4ed6b587df5a32c4e243064fa4e3 @stronk7 stronk7 committed Oct 11, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 course/yui/dragdrop/dragdrop.js
View
12 course/yui/dragdrop/dragdrop.js
@@ -294,13 +294,13 @@ YUI.add('moodle-course-dragdrop', function(Y) {
var resources = Y.Node.create('<ul></ul>');
resources.addClass(CSS.SECTION);
sectionnode.one('.'+CSS.CONTENT+' div.'+CSS.SUMMARY).insert(resources, 'after');
- // Define empty ul as droptarget, so that item could be moved to empty list
- var tar = new Y.DD.Drop({
- node: resources,
- groups: this.groups,
- padding: '20 0 20 0'
- });
}
+ // Define empty ul as droptarget, so that item could be moved to empty list
+ var tar = new Y.DD.Drop({
+ node: resources,
+ groups: this.groups,
+ padding: '20 0 20 0'
+ });
// Initialise each resource/activity in this section
this.setup_for_resource('#'+sectionnode.get('id')+' li.'+CSS.ACTIVITY);

0 comments on commit 5ba6db6

Please sign in to comment.