Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
417dd351
Commit
417dd351
authored
Nov 04, 2009
by
Angie Byron
Browse files
#615504
by rfay and katbailey: Fixed Ajax framework's use-ajax class on links.
parent
4d0da145
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/ajax.js
View file @
417dd351
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment