diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-04 04:38:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-04 04:38:30 +0000 |
commit | 417dd351856de0691907b723c2ae70f872a8dc0b (patch) | |
tree | da97069dd542ca8f2b9bf228b128b2d1be3635a0 /misc/ajax.js | |
parent | 4d0da145657bf5fd3b6069b61105aa7e4199fc13 (diff) | |
download | brdo-417dd351856de0691907b723c2ae70f872a8dc0b.tar.gz brdo-417dd351856de0691907b723c2ae70f872a8dc0b.tar.bz2 |
#615504 by rfay and katbailey: Fixed Ajax framework's use-ajax class on links.
Diffstat (limited to 'misc/ajax.js')
-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 0daa9bc4e..a87af3aa3 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -41,6 +41,7 @@ Drupal.behaviors.AJAX = { // than the usual location. if ($(this).attr('href')) { element_settings.url = $(this).attr('href'); + element_settings.event = 'click'; } var base = $(this).attr('id'); Drupal.ajax[base] = new Drupal.ajax(base, this, element_settings); |