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\"
|
print "<select dojoType=\"dijit.form.Select\"
|
||||||
onchange=\"headlineActionsChange(this)\">";
|
onchange=\"headlineActionsChange(this)\">";
|
||||||
print "<option value=\"\">".__('Actions...')."</option>";
|
print "<option value=\"false\">".__('Actions...')."</option>";
|
||||||
|
|
||||||
# print "<optgroup label=\"".__("Selection toggle:")."\">";
|
# print "<optgroup label=\"".__("Selection toggle:")."\">";
|
||||||
|
|
||||||
|
|
|
@ -2201,7 +2201,7 @@ function correctHeadlinesOffset(id) {
|
||||||
function headlineActionsChange(elem) {
|
function headlineActionsChange(elem) {
|
||||||
try {
|
try {
|
||||||
eval(elem.value);
|
eval(elem.value);
|
||||||
elem.selectedIndex = 0;
|
elem.attr('value', 'false');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("headlineActionsChange", e);
|
exception_error("headlineActionsChange", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue