index a5bccb58913a406e6598f8c6659324e325318663..9dd83864c87abca7542ae2ccb0f2686a501b7a49 100644 (file)
Store data also into a session var, to keep the checkboxes check after reload */
function save_object()
{
+ /* Get up to date config */
+ if(isset($this->parent->config)){
+ $this->config = $this->parent->config;
+ }
+
/* Update current base */
if($this->DepartmentsAdded){
$s_action ="";
if(count($this->parent->Available_SnapsShots($dn))){
$str.= "<input class='center' type='image' src='images/restore.png'
alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'> ";
+ } else {
+ $str = "<img class='center' src='images/restore_grey.png'> ";
}
$str.= "<input class='center' type='image' src='images/snapshot.png'