Skip to content

Commit

Permalink
Merge branch 'MDL-26332' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 14, 2011
2 parents 69c5304 + b729648 commit 68e05ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/qengine.js
Expand Up @@ -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');
Expand Down

0 comments on commit 68e05ea

Please sign in to comment.