Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-35715-master' of git://git.luns.net.uk/moodle

  • Loading branch information...
commit 28990bbef4bba0c02bdcfd1351ea6a424a1a1797 2 parents 566682e + 9d7525f
@stronk7 stronk7 authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.