Merge branch 'MDL-58760-master-pixescape' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Dan Poltawski
2017-05-01 11:25:39 +01:00
3 changed files with 6 additions and 2 deletions
@@ -30,7 +30,7 @@
* autostart
* canpost
* cid
* collapsediconurl
* collapsediconkey
* commentarea
* component
* contextid
+1 -1
View File
File diff suppressed because one or more lines are too long
+4
View File
@@ -212,6 +212,10 @@ define(['core/mustache',
var searchKey = this.currentThemeName + '/' + templateName;
var template = templateCache[searchKey];
// The key might have been escaped by the JS Mustache engine which
// converts forward slashes to HTML entities. Let us undo that here.
key = key.replace(///gi, '/');
return iconSystem.renderIcon(key, component, text, template);
};