Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-26332' of git://github.com/timhunt/moodle

  • Loading branch information...
commit 68e05ea6e66ccda10c669fe734ef489830e159af 2 parents 69c5304 + b729648
Eloy Lafuente (stronk7) stronk7 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  question/qengine.js
2  question/qengine.js
@@ -15,7 +15,7 @@ M.core_question_engine.init_form = function(Y, form) {
15 15 Y.one(form).setAttribute('autocomplete', 'off');
16 16 Y.on('key', function (e) {
17 17 if (!e.target.test('a') && !e.target.test('input[type=submit]') &&
18   - !e.target.test('input[type=img]')) {
  18 + !e.target.test('input[type=img]') && !e.target.test('textarea')) {
19 19 e.preventDefault();
20 20 }
21 21 }, form, 'press:13');

0 comments on commit 68e05ea

Please sign in to comment.
Something went wrong with that request. Please try again.