зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1253072 - Small bug fixes to the Storage Inspector functionality. r=miker
MozReview-Commit-ID: 7s1Ua2ecy0I
This commit is contained in:
Родитель
e150ac87f6
Коммит
74c6f50e80
|
@ -452,11 +452,11 @@ TableWidget.prototype = {
|
|||
if (this.filteredValue == value) {
|
||||
return;
|
||||
}
|
||||
this.filteredValue = value;
|
||||
if (!value) {
|
||||
this.emit(EVENTS.TABLE_FILTERED, []);
|
||||
return;
|
||||
}
|
||||
this.filteredValue = value;
|
||||
// Shouldn't be case-sensitive
|
||||
value = value.toLowerCase();
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
<textbox id="storage-searchbox"
|
||||
class="devtools-searchinput"
|
||||
type="search"
|
||||
timeout="200"
|
||||
placeholder="&searchBox.placeholder;"/>
|
||||
</hbox>
|
||||
<vbox id="storage-table" class="theme-sidebar" flex="1"/>
|
||||
|
|
|
@ -81,7 +81,7 @@ var StorageUI = this.StorageUI = function StorageUI(front, target, panelWin) {
|
|||
|
||||
this.searchBox = this._panelDoc.getElementById("storage-searchbox");
|
||||
this.filterItems = this.filterItems.bind(this);
|
||||
this.searchBox.addEventListener("input", this.filterItems);
|
||||
this.searchBox.addEventListener("command", this.filterItems);
|
||||
|
||||
this.front.listStores().then(storageTypes => {
|
||||
this.populateStorageTree(storageTypes);
|
||||
|
|
Загрузка…
Ссылка в новой задаче