From 2694b635d91fa8b718cfcd88f2b606cce201ddf1 Mon Sep 17 00:00:00 2001 From: Andreas Grabs Date: Tue, 11 Dec 2012 20:44:34 +0100 Subject: [PATCH] MDL-36990 mod_feedback - changed variable to lowercase --- mod/feedback/module.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mod/feedback/module.js b/mod/feedback/module.js index fc1c0f6bcfa..d7392d4b5a7 100644 --- a/mod/feedback/module.js +++ b/mod/feedback/module.js @@ -162,19 +162,17 @@ M.mod_feedback.init = function(Y, id, sesskey) { //this creates a new drag handle and return it as a new node function get_drag_handle(title, handleclass) { - var MOVEICON = { + var moveicon = { pix: "i/move_2d", largepix: "i/dragdrop", component: 'moodle' }; - - //~ var iconname = MOVEICON.pix; - var iconname = MOVEICON.largepix; + var iconname = moveicon.largepix; var dragicon = Y.Node.create('') .setStyle('cursor', 'move') .setAttrs({ - 'src' : M.util.image_url(iconname, MOVEICON.component), + 'src' : M.util.image_url(iconname, moveicon.component), 'alt' : title, 'class' : handleclass });