Skip to content

Commit

Permalink
MDL-33073 Fix application of toolbox JS for drag/dropped content
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Robert Nicols committed May 17, 2012
1 parent 7ded1e2 commit 537194f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course/yui/toolboxes/toolboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ YUI.add('moodle-course-toolboxes', function(Y) {
// The CSS selectors we use
var CSS = {
ACTIVITYLI : 'li.activity',
COMMANDSPAN : 'li.activity span.commands',
COMMANDSPAN : 'span.commands',
SPINNERCOMMANDSPAN : 'span.commands',
CONTENTAFTERLINK : 'div.contentafterlink',
DELETE : 'a.editing_delete',
Expand Down Expand Up @@ -252,7 +252,7 @@ YUI.add('moodle-course-toolboxes', function(Y) {
*/
setup_for_resource : function(baseselector) {
if (!baseselector) {
var baseselector = CSS.PAGECONTENT;
var baseselector = CSS.PAGECONTENT + ' ' + CSS.ACTIVITYLI;;
}

Y.all(baseselector).each(this._setup_for_resource, this);
Expand Down

0 comments on commit 537194f

Please sign in to comment.