fix search broken after userDlg -> infoBox transition
This commit is contained in:
parent
c0ae0fdb9a
commit
eff4997c1f
4 changed files with 6 additions and 6 deletions
|
@ -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) {
|
||||||
|
|
2
prefs.js
2
prefs.js
|
@ -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) {
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"> Subscribe to feed</option>
|
<option id="qmcAddFeed"> Subscribe to feed</option>
|
||||||
<option id="qmcRemoveFeed"> Remove this feed</option>
|
<option id="qmcRemoveFeed"> 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>
|
||||||
|
|
Loading…
Reference in a new issue