Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for bug MDL-9942

  • Loading branch information...
commit ae8fda4cb17e8cd130a0bb302d8a5b6f535bd787 1 parent b2fa775
anthonyforth authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/editor/htmlarea/htmlarea.php
View
8 lib/editor/htmlarea/htmlarea.php
@@ -1140,7 +1140,13 @@ function (str, l1, l2, l3) {
if (!text) {
ancestors = this.getAllAncestors();
if (this.config.statusBar && !noStatus) {
- this._statusBarTree.innerHTML = HTMLArea.I18N.msg["Path"] + ": "; // clear
+
+ while(this._statusBarTree.childNodes.length>0) {
+ this._statusBarTree.removeChild(this._statusBarTree.childNodes[0]);
+ }
+
+ this._statusBarTree.appendChild(document.createTextNode(HTMLArea.I18N.msg["Path"] + ": "));
+
for (var i = ancestors.length; --i >= 0;) {
var el = ancestors[i];
if (!el) {
Please sign in to comment.
Something went wrong with that request. Please try again.