From 417dd351856de0691907b723c2ae70f872a8dc0b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 4 Nov 2009 04:38:30 +0000 Subject: #615504 by rfay and katbailey: Fixed Ajax framework's use-ajax class on links. --- 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 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); -- cgit v1.2.3