1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

fix search broken after userDlg -> infoBox transition

This commit is contained in:
Andrew Dolgov 2006-05-18 13:20:51 +01:00
parent c0ae0fdb9a
commit eff4997c1f
4 changed files with 6 additions and 6 deletions

View File

@ -124,7 +124,7 @@ function viewfeed(feed, skip, subop, doc, is_cat, subop_param) {
if (search_query != "") { if (search_query != "") {
query = query + "&search=" + param_escape(search_query); query = query + "&search=" + param_escape(search_query);
searchbox.value = ""; // searchbox.value = "";
} }
if (cat_view_mode) { if (cat_view_mode) {

View File

@ -608,7 +608,7 @@ function removeSelectedFeeds() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Unsubscribe from selected feeds?"); var ok = confirm("Unsubscribe selected feeds?");
if (ok) { if (ok) {

View File

@ -54,7 +54,7 @@ function dlg_frefresh_callback() {
hframe.src = "backend.php?op=error&msg=No%20feed%20selected."; hframe.src = "backend.php?op=error&msg=No%20feed%20selected.";
} }
} }
closeDlg(); closeInfoBox();
} }
} }
@ -292,7 +292,7 @@ function resetSearch() {
} }
function search() { function search() {
closeDlg(); closeInfoBox();
viewCurrentFeed(0, ""); viewCurrentFeed(0, "");
} }
@ -494,7 +494,7 @@ function quickMenuGo(opid) {
return; return;
} }
if (confirm("Remove current feed?")) { if (confirm("Unsubscribe current feed?")) {
qfdDelete(actid); qfdDelete(actid);
} }

View File

@ -229,7 +229,7 @@ window.onload = init;
<option disabled>--------</option> <option disabled>--------</option>
<option style="color : #5050aa" disabled>Feed actions:</option> <option style="color : #5050aa" disabled>Feed actions:</option>
<option id="qmcAddFeed">&nbsp;&nbsp;Subscribe to feed</option> <option id="qmcAddFeed">&nbsp;&nbsp;Subscribe to feed</option>
<option id="qmcRemoveFeed">&nbsp;&nbsp;Remove this feed</option> <option id="qmcRemoveFeed">&nbsp;&nbsp;Unsubscribe this feed</option>
<!-- <option>Edit this feed</option> --> <!-- <option>Edit this feed</option> -->
<option disabled>--------</option> <option disabled>--------</option>
<option style="color : #5050aa" disabled>All feeds:</option> <option style="color : #5050aa" disabled>All feeds:</option>