From: scyrma Date: Mon, 8 Sep 2008 03:07:07 +0000 (+0000) Subject: MDL-13766: make the filepicker work over https when necessary. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6fe8b0229480291575c7333bc4af4f1388a83c21;p=moodle.git MDL-13766: make the filepicker work over https when necessary. --- diff --git a/repository/lib.php b/repository/lib.php index ea36cb79d3..350d671578 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -590,7 +590,7 @@ abstract class repository { $repo->id = $this->id; $repo->name = $this->get_name(); $repo->type = $this->options['type']; - $repo->icon = $CFG->wwwroot.'/repository/'.$repo->type.'/icon.png'; + $repo->icon = $CFG->httpswwwroot.'/repository/'.$repo->type.'/icon.png'; return $repo; } @@ -1197,26 +1197,26 @@ p.upload a:hover {background: grey;color:white} #file-picker-$suffix a:hover{background:#003366;color:white} EOD; $js = << - - - - - - - - - - + + + + + + + + + + +