diff options
-rw-r--r-- | misc/ajax.js | 1 |
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); }); |