MDL-59499 admin: class fix for course category expansion icons
This commit is contained in:
@@ -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
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user