summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui
diff options
context:
space:
mode:
authorSimon2011-04-14 17:54:28 +0200
committerSimon2011-04-14 17:54:28 +0200
commitdcd85ca9b5ade79bd06df7fd93c170b8903e8483 (patch)
tree775efa938b1da3f3f4e4d481132239c6ce6e0c21 /application/modules/fbgui
parentfbgui bugfix (diff)
downloadpbs2-dcd85ca9b5ade79bd06df7fd93c170b8903e8483.tar.gz
pbs2-dcd85ca9b5ade79bd06df7fd93c170b8903e8483.tar.xz
pbs2-dcd85ca9b5ade79bd06df7fd93c170b8903e8483.zip
fbgui bugfix
Diffstat (limited to 'application/modules/fbgui')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php2
-rw-r--r--application/modules/fbgui/views/scripts/index/start.phtml6
2 files changed, 4 insertions, 4 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 119a392..aba88db 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -156,7 +156,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
$this->view->host = '132.230.4.27';
- $this->view->alphaid = $a;
+ $this->view->alphasessionID = $a;
}
}
diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml
index 4a13191..6737fc5 100644
--- a/application/modules/fbgui/views/scripts/index/start.phtml
+++ b/application/modules/fbgui/views/scripts/index/start.phtml
@@ -115,9 +115,9 @@ function updateProgress(p, s, u){
<h1>Downloading</h1>
<script type="text/javascript">
fbgui.setCallbackOnFinished('foo();');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkernel/alpha/<?php echo $this->alphaid; ?>/file/kernel');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getinitramfs/alpha/<?php echo $this->alphaid; ?>/file/initramfs');
-fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkcl/alpha/<?php echo $this->alphaid; ?>/file/kcl');
+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');
function foo(){
fbgui.quit();
}