search toolbar ui change

This commit is contained in:
Andrew Dolgov 2005-09-11 04:02:23 +01:00
parent 7ba176d2bf
commit 4ce1985967
3 changed files with 7 additions and 9 deletions

View File

@ -128,7 +128,8 @@ function cleanSelectedList(element) {
var content = document.getElementById(element);
for (i = 0; i < content.childNodes.length; i++) {
content.childNodes[i].className = content.childNodes[i].className.replace("Selected", "");
content.childNodes[i].className =
content.childNodes[i].className.replace("Selected", "");
}
}

View File

@ -274,12 +274,7 @@ function resetSearch() {
}
function search() {
checkActiveFeedId();
if (getActiveFeedId()) {
viewfeed(getActiveFeedId(), 0, "");
} else {
notify("Please select some feed first.");
}
viewCurrentFeed(0, "");
}
function localPiggieFunction(enable) {

View File

@ -72,11 +72,13 @@
&nbsp;
</td></tr> -->
<tr><td class="headlinesToolbar" id="headlinesToolbar">
Search: <input id="searchbox"
<input id="searchbox"
onblur="javascript:enableHotkeys()" onfocus="javascript:disableHotkeys()"
onchange="javascript:search()">
<input type="submit"
class="button" onclick="javascript:resetSearch()" value="Reset">
class="button" onclick="javascript:search()" value="Search">
<!-- <input type="submit"
class="button" onclick="javascript:resetSearch()" value="Reset"> -->
&nbsp;View: