From a06878d3c1800197c651b783d1d7dd6f0d79b0de Mon Sep 17 00:00:00 2001 From: dongsheng Date: Mon, 4 May 2009 09:25:14 +0000 Subject: [PATCH] "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" --- repository/ws.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.39.5