Side navigation
Ticket #2842: 2842-ajax_undefiend_url.diff
File 2842-ajax_undefiend_url.diff, 0.4 KB (added by Morgan, May 14, 2008 05:17AM UTC)
add default url
Index: src/ajax.js
===================================================================
--- src/ajax.js (revision 5588)
+++ src/ajax.js (working copy)
@@ -157,7 +157,8 @@
json: "application/json, text/javascript",
text: "text/plain",
_default: "*/*"
- }
+ },
+ url: document.location.href
},
// Last-Modified header cache for next request
Download in other formats:
Original Format
File 2842-ajax_undefiend_url.diff, 0.4 KB (added by Morgan, May 14, 2008 05:17AM UTC)
add default url
Index: src/ajax.js
===================================================================
--- src/ajax.js (revision 5588)
+++ src/ajax.js (working copy)
@@ -157,7 +157,8 @@
json: "application/json, text/javascript",
text: "text/plain",
_default: "*/*"
- }
+ },
+ url: document.location.href
},
// Last-Modified header cache for next request