Bug 581241 - Add a Filter placeholder string in the Web Console, r=gavin, a=johnath

This commit is contained in:
Patrick Walton 2010-07-26 16:14:32 -03:00
parent 79f2ab05d8
commit 98a02ecf5b
2 changed files with 2 additions and 0 deletions

View File

@ -1807,6 +1807,7 @@ HeadsUpDisplay.prototype = {
this.filterBox = this.makeXULNode("textbox");
this.filterBox.setAttribute("class", "hud-filter-box");
this.filterBox.setAttribute("hudId", this.hudId);
this.filterBox.setAttribute("placeholder", this.getStr("stringFilter"));
this.filterClearButton = this.makeXULNode("button");
this.filterClearButton.setAttribute("class", "hud-filter-clear");

View File

@ -33,4 +33,5 @@ tipGlobal=Toggle Global Message logging
localConsole=Local Console
btnClear=Clear Console
tipClear=Clear the console output
stringFilter=Filter
stringFilterClear=Clear Filter