Browse files

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

  • Loading branch information...
2 parents 69c5304 + b729648 commit 68e05ea6e66ccda10c669fe734ef489830e159af @stronk7 stronk7 committed Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/qengine.js
View
2 question/qengine.js
@@ -15,7 +15,7 @@ M.core_question_engine.init_form = function(Y, form) {
Y.one(form).setAttribute('autocomplete', 'off');
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('input[type=img]') && !e.target.test('textarea')) {
e.preventDefault();
}
}, form, 'press:13');

0 comments on commit 68e05ea

Please sign in to comment.