Permalink
Browse files

Fix for bug MDL-9942

  • Loading branch information...
1 parent b2fa775 commit ae8fda4cb17e8cd130a0bb302d8a5b6f535bd787 anthonyforth committed May 25, 2007
Showing with 7 additions and 1 deletion.
  1. +7 −1 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) {

0 comments on commit ae8fda4

Please sign in to comment.