mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-36990 mod_feedback - changed variable to lowercase
This commit is contained in:
parent
5f818c0e64
commit
2694b635d9
1 changed files with 3 additions and 5 deletions
|
@ -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
|
//this creates a new drag handle and return it as a new node
|
||||||
function get_drag_handle(title, handleclass) {
|
function get_drag_handle(title, handleclass) {
|
||||||
var MOVEICON = {
|
var moveicon = {
|
||||||
pix: "i/move_2d",
|
pix: "i/move_2d",
|
||||||
largepix: "i/dragdrop",
|
largepix: "i/dragdrop",
|
||||||
component: 'moodle'
|
component: 'moodle'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var iconname = moveicon.largepix;
|
||||||
//~ var iconname = MOVEICON.pix;
|
|
||||||
var iconname = MOVEICON.largepix;
|
|
||||||
var dragicon = Y.Node.create('<img />')
|
var dragicon = Y.Node.create('<img />')
|
||||||
.setStyle('cursor', 'move')
|
.setStyle('cursor', 'move')
|
||||||
.setAttrs({
|
.setAttrs({
|
||||||
'src' : M.util.image_url(iconname, MOVEICON.component),
|
'src' : M.util.image_url(iconname, moveicon.component),
|
||||||
'alt' : title,
|
'alt' : title,
|
||||||
'class' : handleclass
|
'class' : handleclass
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue