mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Fix for MDL-9942
This commit is contained in:
parent
ce40b7935e
commit
44968276c1
@ -875,7 +875,11 @@ HTMLArea.prototype.setMode = function(mode) {
|
||||
this._iframe.style.display = "none";
|
||||
this._textArea.style.display = "block";
|
||||
if (this.config.statusBar) {
|
||||
this._statusBar.innerHTML = HTMLArea.I18N.msg["TEXT_MODE"];
|
||||
while(this._statusBar.childNodes.length>0) {
|
||||
this._statusBar.removeChild(this._statusBar.childNodes[0]);
|
||||
}
|
||||
|
||||
this._statusBar.appendChild(document.createTextNode(HTMLArea.I18N.msg["TEXT_MODE"]));
|
||||
}
|
||||
break;
|
||||
case "wysiwyg":
|
||||
|
Loading…
x
Reference in New Issue
Block a user