summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e94174d)
raw | patch | inline | side by side (parent: e94174d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 10:32:47 +0000 (10:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 10:32:47 +0000 (10:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1639 594d385d-05f5-0310-b6e9-bd551577e9d8
index c73378620babce208e4aace2fca6b2736d1f88cf..219593abe656f1d73bd035be523ea87eff0dc0af 100644 (file)
$this->is_dialog=true;
}
+ $_SESSION['objectinfo']= $this->dn;
/* Edit selected Sub Object */
if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
$this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
+ $_SESSION['objectinfo'] = $this->SubObjects[$_POST['SubObject']]['dn'];
$this->is_dialog=true;
}
index bd5c1fb3b7ec890f60b1e3943a0426ed6dfbbf4c..1bb4fdc72085494d789db6f63ecf8b9558374ce8 100644 (file)
$this->dialog= new $a_setup[0]($this->config,
$this->config->data['TABS'][$a_setup[2]],$this->dn);
$this->is_dialog = true;
+ $_SESSION['objectinfo'] = $this->dn;
}
unset($this->dialog);
$this->dialog=NULL;
$this->is_dialog = false;
+ unset($_SESSION['objectinfo']);
}
-
/* This check if the given tab could be saved
* If it was possible to save it, remove dialog object.
* If it wasn't possible, show errors and keep dialog.
unset($this->dialog);
$this->dialog=NULL;
$this->is_dialog=false;
+ unset($_SESSION['objectinfo']);
}
}
-
/* If dialog is set, but $this->is_dialog==false, then
* only the "abort" button is shown, this are dialogs that must not be saved.
* If is_dialog == true, we are currently editing tab objects.
diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index 8d1649e3f7d03f220c56df22c871e578b9d1d172..dcafa6a5673265b194034abf64e58002b39e7d58 100644 (file)
/* Edit disk.
* Open dialog which allows us to edit the selected entry
*/
+ $_SESSION['objectinfo'] = $this->dn;
if((isset($_POST['EditDisk']))&&(isset($_POST['disks']))){
$usedDiskNames =array();
foreach($this->disks as $key=>$disk){
}
}
$this->dialog = new faiPartitionTableEntry($this->config,$this->dn,$usedDiskNames,$this->disks[$_POST['disks']]);
+ $_SESSION['objectinfo'] = $this->disks[$_POST['disks']]['dn'];
$this->is_dialog = true;
}
index 34bfe405a2ceb72a4d335b784a89728a365fa3a4..6e5c754cc535d7080eca5b15c099e49616625cce 100644 (file)
$this->is_dialog=true;
}
+ $_SESSION['objectinfo'] = $this->dn;
/* Edit selected Sub Object */
if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
$this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
+ $_SESSION['objectinfo'] = $this->SubObjects[$_POST['SubObject']]['dn'];
$this->is_dialog=true;
}
index 1ee396e1963496809da340dc198c74d3d42bae0b..cf8623305d9e06c91cf0bbb3bcc274c27b86bceb 100644 (file)
$this->is_dialog=true;
}
+ $_SESSION['objectinfo'] = $this->dn;
/* Edit selected Sub Object */
if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
$this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
+ $_SESSION['objectinfo'] = $this->SubObjects[$_POST['SubObject']]['dn'];
$this->is_dialog=true;
}
index 7d4f8fb628740b5a4f174f1ed1ff43c9430c3713..6c47c6f331a88586f864c9d90a614bdf7eb3f8d6 100644 (file)
$this->is_dialog=true;
}
+ $_SESSION['objectinfo'] = $this->dn;
/* Edit selected Sub Object */
if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
$this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
+ $_SESSION['objectinfo'] = $this->SubObjects[$_POST['SubObject']]['dn'];
$this->is_dialog=true;
}