mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 01:37:16 +00:00
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:
parent
7cbcabc0ae
commit
4247c481ae
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user