mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
search form: set default action
This commit is contained in:
@@ -1133,6 +1133,8 @@ class Feeds extends Handler_Protected {
|
|||||||
$active_feed_id = sprintf("%d", $this->params[0]);
|
$active_feed_id = sprintf("%d", $this->params[0]);
|
||||||
$is_cat = $this->params[1] != "false";
|
$is_cat = $this->params[1] != "false";
|
||||||
|
|
||||||
|
print "<form onsubmit='return false;'>";
|
||||||
|
|
||||||
print "<div class=\"dlgSec\">".__('Look for')."</div>";
|
print "<div class=\"dlgSec\">".__('Look for')."</div>";
|
||||||
|
|
||||||
print "<div class=\"dlgSecCont\">";
|
print "<div class=\"dlgSecCont\">";
|
||||||
@@ -1159,9 +1161,11 @@ class Feeds extends Handler_Protected {
|
|||||||
</div>";
|
</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').execute()\">".__('Search')."</button>
|
print "<button dojoType=\"dijit.form.Button\" type=\"submit\" onclick=\"dijit.byId('searchDlg').execute()\">".__('Search')."</button>
|
||||||
<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').hide()\">".__('Cancel')."</button>
|
<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').hide()\">".__('Cancel')."</button>
|
||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
|
print "</form>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_debugger() {
|
function update_debugger() {
|
||||||
|
|||||||
Reference in New Issue
Block a user