properly reset selected index of subtoolbar actions dropdown
This commit is contained in:
parent
37f1a234a5
commit
d6034614e0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue