From 120d7ed3c187159d782344ea63cca37519a31cd1 Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Thu, 22 Nov 2012 10:47:49 +0000 Subject: [PATCH] MDL-36763 Remove onclick event when creating activity left indent link 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/course/yui/toolboxes/toolboxes.js b/course/yui/toolboxes/toolboxes.js index eca09831e95..5c8c8961ec6 100644 --- a/course/yui/toolboxes/toolboxes.js +++ b/course/yui/toolboxes/toolboxes.js @@ -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'); }, /**