From 9c5101dbdad6e142884d81e2616c513f6b56c94a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 26 Nov 2009 03:05:42 +0000 Subject: #615282 by carlos8f, katbailey, c960657, and rfay: Fixed Enter key is ignored on pages with #ajax fields. --- misc/ajax.js | 1 + 1 file changed, 1 insertion(+) (limited to 'misc/ajax.js') 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); }); -- cgit v1.2.3