summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43b7d67)
raw | patch | inline | side by side (parent: 43b7d67)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 08:13:08 +0000 (08:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 08:13:08 +0000 (08:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15272 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history | |
gosa-core/include/class_tabs.inc | patch | blob | history |
index caeb8f97e8f2b0b30c8fdabb253688a36d27928e..c15954d89e76a638283830ddee0c35c0273df30b 100644 (file)
public $plHeadline = "unconfigured";
// The currently used object(s) (e.g. in edit, removal)
- protected $dn = "";
+ public $dn = ""; // this is public due to some compatibility problems with class plugin..
protected $dns = array();
// The last used object(s).
msg_dialog::display(_("Error"), $message, ERROR_DIALOG);
}
}
+ }
+ function is_modal_dialog()
+ {
+ return(is_object($this->tabObject) || is_object($this->dialogObject));
}
}
index ef670569c718c287a0d01f0b195da816086f96fd..e1a2954bb3d3b6d8162382a976bd2b8553a68c7b 100644 (file)
$obj->dn= $this->dn;
- if(!$obj instanceof plugin){
+ if(!$obj instanceof plugin && !$obj instanceOf management){
trigger_error("Something went wrong while saving ".$obj->dn.". Object class '".get_class($obj)."'.");
}else{