зеркало из https://github.com/mozilla/pjs.git
add searchterm to the filter editor, and allow the first searchterm to be initialized
with the first term of the current filter
This commit is contained in:
Родитель
619d7ada75
Коммит
2dc69139d3
|
@ -80,4 +80,9 @@ function initializeDialog(filter)
|
|||
filterName.value = filter.filterName;
|
||||
|
||||
setScope(getScope(filter));
|
||||
|
||||
// now test by initializing the psuedo <searchterm>
|
||||
var searchTerm = document.getElementById("searchTerm");
|
||||
dump("initializing " + searchTerm + "\n");
|
||||
searchTerm.initialize(filter, 0);
|
||||
}
|
||||
|
|
|
@ -52,6 +52,10 @@ Rights Reserved.
|
|||
<box orient="horizontal">
|
||||
</box>
|
||||
<box style="min-height:200px">
|
||||
<searchterm id="searchTerm"
|
||||
searchattribute="searchAttr"
|
||||
searchoperator="searchOp"
|
||||
searchvalue="searchValue"/>
|
||||
<tree class="inset" flex="1">
|
||||
<treecol id="a" />
|
||||
<treecol id="b"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче