mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
Merge branch 'MDL-59499-master-classfix' of github.com:snake/moodle
This commit is contained in:
commit
a5164e85f2
@ -1360,6 +1360,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_minus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
@ -1389,6 +1390,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_plus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
|
File diff suppressed because one or more lines are too long
@ -1333,6 +1333,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_minus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
@ -1362,6 +1363,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_plus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
|
2
course/yui/src/management/js/category.js
vendored
2
course/yui/src/management/js/category.js
vendored
@ -177,6 +177,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_minus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
@ -206,6 +207,7 @@ Category.prototype = {
|
||||
return Templates.renderPix('t/switch_plus', 'core', string);
|
||||
})
|
||||
.then(function(html) {
|
||||
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
|
||||
return action.set('innerHTML', html);
|
||||
}).fail(Notification.exception);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user