mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-28 00:01:28 +00:00
properly reset selected index of subtoolbar actions dropdown
This commit is contained in:
@@ -4102,7 +4102,7 @@
|
||||
|
||||
print "<select dojoType=\"dijit.form.Select\"
|
||||
onchange=\"headlineActionsChange(this)\">";
|
||||
print "<option value=\"\">".__('Actions...')."</option>";
|
||||
print "<option value=\"false\">".__('Actions...')."</option>";
|
||||
|
||||
# print "<optgroup label=\"".__("Selection toggle:")."\">";
|
||||
|
||||
|
||||
@@ -2201,7 +2201,7 @@ function correctHeadlinesOffset(id) {
|
||||
function headlineActionsChange(elem) {
|
||||
try {
|
||||
eval(elem.value);
|
||||
elem.selectedIndex = 0;
|
||||
elem.attr('value', 'false');
|
||||
} catch (e) {
|
||||
exception_error("headlineActionsChange", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user