From: Brion Vibber Date: Sat, 7 Jul 2007 16:39:41 +0000 (+0000) Subject: Fix a stupid typo I made in a back-compat check. X-Git-Tag: 1.31.0-rc.0~52208 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=cda698d24793837749a8bc14eae3fd2d3a8ea0fd;p=lhc%2Fweb%2Fwiklou.git 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 --- 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)