includes/clientside/static/ajax.js
changeset 800 9cdfe82c56cd
parent 779 609e35845ec3
child 823 4596c40aaa94
--- a/includes/clientside/static/ajax.js	Sat Jan 03 17:54:26 2009 -0500
+++ b/includes/clientside/static/ajax.js	Sat Jan 03 18:11:18 2009 -0500
@@ -13,7 +13,7 @@
   enableUnload();
   setAjaxLoading();
   var redir = ( disable_redirect ) ? '&redirect=no' : '';
-  ajaxGet(scriptPath + '/ajax.php?title=' + physical_title +'&_mode=getpage&noheaders' + redir, function() {
+  ajaxGet(append_sid(scriptPath + '/ajax.php?title=' + physical_title +'&_mode=getpage&noheaders' + redir), function() {
     // Allow for 404 here, it's generated by the "page not found" error message
     // (even with noheaders specified, probably should be fixed)
     if ( ajax.readyState == 4 && ( ajax.status == 200 || ajax.status == 404 ) ) {