From cda698d24793837749a8bc14eae3fd2d3a8ea0fd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 7 Jul 2007 16:39:41 +0000 Subject: [PATCH] Fix a stupid typo I made in a back-compat check. Could have occasionally caused errors in AJAX-laden pages cached from before an upgrade --- skins/common/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/common/ajax.js b/skins/common/ajax.js index c84f3370b3..854d7a0003 100644 --- a/skins/common/ajax.js +++ b/skins/common/ajax.js @@ -81,7 +81,7 @@ function sajax_do_call(func_name, args, target) { var uri; var post_data; uri = wgServer + - ((wgServer == null) ? (wgScriptPath + "/index.php") : wgScript) + + ((wgScript == null) ? (wgScriptPath + "/index.php") : wgScript) + "?action=ajax"; if (sajax_request_type == "GET") { if (uri.indexOf("?") == -1) -- 2.20.1