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:
alecf%netscape.com 2000-05-03 07:35:58 +00:00
Родитель 7cbcabc0ae
Коммит 4247c481ae
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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"/>