summaryrefslogtreecommitdiff
path: root/misc/ajax.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 03:05:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 03:05:42 +0000
commit9c5101dbdad6e142884d81e2616c513f6b56c94a (patch)
tree8f9859fc0c7b3fcb42b05428edd7b87217908bfd /misc/ajax.js
parentcba6fb8dc5b867c010cde18f75fc006556eed127 (diff)
downloadbrdo-9c5101dbdad6e142884d81e2616c513f6b56c94a.tar.gz
brdo-9c5101dbdad6e142884d81e2616c513f6b56c94a.tar.bz2
#615282 by carlos8f, katbailey, c960657, and rfay: Fixed Enter key is ignored on pages with #ajax fields.
Diffstat (limited to 'misc/ajax.js')
-rw-r--r--misc/ajax.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index a87af3aa3..9a85ee5e0 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -26,6 +26,7 @@ Drupal.behaviors.AJAX = {
var element_settings = settings.ajax[base];
$(element_settings.selector).each(function () {
+ element_settings.element = this;
Drupal.ajax[base] = new Drupal.ajax(base, this, element_settings);
});