mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Merge branch 'MDL-35954_master' of git://github.com/markn86/moodle
This commit is contained in:
commit
9d8abffc87
@ -426,6 +426,7 @@ M.util.init_select_autosubmit = function(Y, formid, selectid, nothing) {
|
||||
if (e.button == 1) {
|
||||
buttonflag = 1;
|
||||
}
|
||||
paramobject.lastindex = select.get('selectedIndex');
|
||||
};
|
||||
|
||||
var changedown = function(e, paramobject) {
|
||||
@ -433,6 +434,7 @@ M.util.init_select_autosubmit = function(Y, formid, selectid, nothing) {
|
||||
if(e.keyCode == 13) {
|
||||
form.submit();
|
||||
}
|
||||
paramobject.lastindex = select.get('selectedIndex');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user