summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
authorMichael Neves2012-01-26 19:03:39 +0100
committerMichael Neves2012-01-26 19:03:39 +0100
commitc0fd950d2ae61f8767badce56559731cc4ac9d2c (patch)
tree71bce5bd8f2316d9344a8669139b5367859266f8 /application/modules/user/forms
parentPreboot add/edit fix (diff)
downloadpbs2-c0fd950d2ae61f8767badce56559731cc4ac9d2c.tar.gz
pbs2-c0fd950d2ae61f8767badce56559731cc4ac9d2c.tar.xz
pbs2-c0fd950d2ae61f8767badce56559731cc4ac9d2c.zip
Bootiso Form
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r--application/modules/user/forms/Bootiso.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/application/modules/user/forms/Bootiso.php b/application/modules/user/forms/Bootiso.php
index a56f360..60a6e5f 100644
--- a/application/modules/user/forms/Bootiso.php
+++ b/application/modules/user/forms/Bootiso.php
@@ -21,8 +21,8 @@ class user_Form_Bootiso extends Zend_Form {
public function setAction($action) {
$this->action = $action;
}
- public function setPrebootlist($prebootlist) {
- $this->prebootlist = $prebootlist;
+ public function setPreboottype($pt) {
+ $this->preboottype = $pt;
}
public function setGroupdepth($groupdepth) {
$this->groupdepth = $groupdepth;
@@ -67,8 +67,6 @@ class user_Form_Bootiso extends Zend_Form {
$preboottypefield = $this->createElement('select', 'preboottypeID');
$preboottypefield->setLabel('Type:');
$preboottypefield->setAttrib('readOnly', $meta);
- $preboottypefield->setAttrib('onChange', "document.getElementById('".$this->action."').submit();");
- $preboottypefield->setValue($_POST['preboottypeID']);
foreach($this->preboottype as $k => $pt) {
$preboottypefield->addMultiOption($pt->getID(), $pt->getName());
}