diff --git a/common/content/commandline.js b/common/content/commandline.js index 9054ebfc..879ba67d 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1257,6 +1257,8 @@ var CommandLine = Module("commandline", { this.wildIndex++; this.preview(); + modes.dumpStack(); + util.dumpStack(); if (this.selected == null) statusline.progress = ""; else diff --git a/common/content/statusline.js b/common/content/statusline.js index 1fff5292..fd70dd82 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -219,18 +219,18 @@ var StatusLine = Module("statusline", { * Any other number - The progress is cleared. */ progress: Modes.boundProperty({ - set: function setProgress(progress) { - if (!progress) - progress = ""; + get: function progress() this._progress, + set: function progress(progress) { + this._progress = progress || ""; if (typeof progress == "string") - this.widgets.progress.value = progress; + this.widgets.progress.value = this._progress; else if (typeof progress == "number") { let progressStr = ""; - if (progress <= 0) + if (this._progress <= 0) progressStr = "[ Loading... ]"; - else if (progress < 1) { - progress = Math.round(progress * 20); + else if (this._progress < 1) { + let progress = Math.round(this._progress * 20); progressStr = "[" + "===================> " .substr(20 - progress, 20)