summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-02-23 16:50:55 +0100
committerMichael Neves2012-02-23 16:50:55 +0100
commit1c9b8bd3dfce09f1f27cf31a81722c2c7b92dc75 (patch)
treee1b429bf36f6e2ebab045bf9088d394153f71187
parentfbgui button fix (diff)
downloadpbs2-1c9b8bd3dfce09f1f27cf31a81722c2c7b92dc75.tar.gz
pbs2-1c9b8bd3dfce09f1f27cf31a81722c2c7b92dc75.tar.xz
pbs2-1c9b8bd3dfce09f1f27cf31a81722c2c7b92dc75.zip
startDownload with relative path
-rw-r--r--application/modules/fbgui/views/scripts/index/start.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml
index f63b8bd..5ab7b09 100644
--- a/application/modules/fbgui/views/scripts/index/start.phtml
+++ b/application/modules/fbgui/views/scripts/index/start.phtml
@@ -71,9 +71,9 @@ function allComplete(){
<script type="text/javascript">
fbgui.setCallbackOnFinished('foo();');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkernel/alpha/<?php echo $this->alphasessionID; ?>/file/kernel');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getinitramfs/alpha/<?php echo $this->alphasessionID; ?>/file/initramfs');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkcl/alpha/<?php echo $this->alphasessionID; ?>/file/kcl');
+fbgui.startDownload('/resource/getkernel/alpha/<?php echo $this->alphasessionID; ?>/file/kernel');
+fbgui.startDownload('/resource/getinitramfs/alpha/<?php echo $this->alphasessionID; ?>/file/initramfs');
+fbgui.startDownload('/resource/getkcl/alpha/<?php echo $this->alphasessionID; ?>/file/kcl');
function foo(){
allComplete();
}