Permalink
Browse files

Better fix for IE's too long statusbar text. Thanks Gustav ;-)

  • Loading branch information...
1 parent 760e522 commit b17a6038124171a0848b34af07adafac9b90636d julmis committed Feb 12, 2005
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/editor/htmlarea.php
View
@@ -778,9 +778,11 @@ function (event) {
}
}
- setTimeout(function() {
- editor.updateToolbar();
- }, 250);
+ // Moodle fix for bug Bug #2521 Too long statusbar line in IE
+ //
+ //setTimeout(function() {
+ //editor.updateToolbar();
+ //}, 250);
if (typeof editor.onGenerate == "function")
editor.onGenerate();
@@ -1040,7 +1042,6 @@ function (str, l1, l2, l3) {
var text = (this._editMode == "textmode");
var ancestors = null;
if (!text) {
- this.focusEditor(); // Moodle fix for bug Bug #2521
ancestors = this.getAllAncestors();
if (this.config.statusBar && !noStatus) {
this._statusBarTree.innerHTML = HTMLArea.I18N.msg["Path"] + ": "; // clear

0 comments on commit b17a603

Please sign in to comment.