mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
MDL24200 - Admin Users - Changing the submit button to just a button to prevent it from taking focus when entering text. (Patch provided by Hubert Chathi)
This commit is contained in:
parent
735de1c276
commit
483239087c
@ -30,6 +30,7 @@ M.form.initShowAdvanced = function(Y, config) {
|
||||
if (this._advButtons.size() > 0) {
|
||||
this._stateInput = new Y.NodeList(document.getElementsByName('mform_showadvanced_last'));
|
||||
this._advButtons.on('click', this.switchState, this);
|
||||
this._advButtons.set('type', 'button');
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user