MDL-36763 Remove onclick event when creating activity left indent link
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Thu, 22 Nov 2012 10:47:49 +0000 (10:47 +0000)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Thu, 22 Nov 2012 10:56:20 +0000 (10:56 +0000)
The left indent onclick is now handled by a Y.delegate so there is no need
for a seperate event handler.

course/yui/toolboxes/toolboxes.js

index b3eb066..d7d031b 100644 (file)
@@ -479,7 +479,6 @@ YUI.add('moodle-course-toolboxes', function(Y) {
                 .setAttribute('href', newlink)
                 .setAttribute('title', left_string);
             anchor.appendChild(newicon);
-            anchor.on('click', this.move_left, this);
             moveright.insert(anchor, 'before');
         },
         /**