From: dongsheng Date: Mon, 4 May 2009 09:25:14 +0000 (+0000) Subject: "MDL-13766, if moodle is working on HTTPS, then we are not allowed to access parent... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a06878d3c1800197c651b783d1d7dd6f0d79b0de;p=moodle.git "MDL-13766, if moodle is working on HTTPS, then we are not allowed to access parent window, we need to warn users what is going on, and tell them to refresh repository manually" --- diff --git a/repository/ws.php b/repository/ws.php index 3e0b95d52a..e64a8c536f 100644 --- a/repository/ws.php +++ b/repository/ws.php @@ -114,10 +114,17 @@ // the callback url should be something like this: // http://xx.moodle.com/repository/ws.php?callback=yes&repo_id=1&sid=xxx // sid is the attached auth token from external source + // If Moodle is working on HTTPS mode, then we are not allowed to access + // parent window, in this case, we need to alert user to refresh the repository + // manually. $js =<< EOD; echo $js;