mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-46386-master' of https://github.com/merrill-oakland/moodle
This commit is contained in:
commit
6188c8ebab
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ M.core_question_engine.init_form = function(Y, form) {
|
|||
|
||||
Y.on('key', function (e) {
|
||||
if (!e.target.test('a') && !e.target.test('input[type=submit]') &&
|
||||
!e.target.test('input[type=img]') && !e.target.test('textarea')) {
|
||||
!e.target.test('input[type=img]') && !e.target.test('textarea') && !e.target.test('[contenteditable=true]')) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}, form, 'press:13');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue