Permalink
Browse files

Fix for MDL-9942

  • Loading branch information...
anthonyforth
anthonyforth committed Jun 8, 2007
1 parent ce40b79 commit 44968276c10bd996ab1a62aa5294b84cf16f9513
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/editor/htmlarea/htmlarea.php
@@ -875,7 +875,11 @@ function (event) {
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":

0 comments on commit 4496827

Please sign in to comment.