summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e5c645)
raw | patch | inline | side by side (parent: 8e5c645)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Nov 2009 13:24:31 +0000 (13:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Nov 2009 13:24:31 +0000 (13:24 +0000) |
-Hide save/cancel buttons while dialogs are opened
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14762 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14762 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history |
index a8bd21d8106a3447c4654cf41f917ebb8b79b63c..7e906d211620879d13e50ccf54226a7ca56e378b 100644 (file)
// Check if there is a dialog opened - We don't need any buttons in this case.
if($this->tabObject->by_object[$this->tabObject->current]){
$current = $this->tabObject->by_object[$this->tabObject->current];
- if(is_object($current->dialog)){
+ if(isset($current->dialog) && (is_object($current->dialog) || $current->dialog)){
return("");
}
}