search toolbar ui change
This commit is contained in:
parent
7ba176d2bf
commit
4ce1985967
|
@ -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", "");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -72,11 +72,13 @@
|
|||
|
||||
</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"> -->
|
||||
|
||||
View:
|
||||
|
||||
|
|
Loading…
Reference in New Issue