Commit 417dd351 authored by webchick's avatar webchick

#615504 by rfay and katbailey: Fixed Ajax framework's use-ajax class on links.

parent 4d0da145
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment