Skip to content

Commit 889d23e

Browse files
authored
Merge pull request #1242 from Patternslib/ajax-success-url
feat(pat-ajax): Pass the URL to the pat-ajax-success event payload.
2 parents cde2a3a + faa0209 commit 889d23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/ajax/ajax.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const _ = {
9898
// if this url is requested multiple time, only return the last result
9999
$el.trigger({
100100
type: "pat-ajax-success",
101-
jqxhr: jqxhr,
101+
jqxhr: {"url": cfg.url, ...jqxhr},
102102
});
103103
} else {
104104
// ignore

0 commit comments

Comments
 (0)