From: hickert Date: Wed, 1 Mar 2006 05:06:59 +0000 (+0000) Subject: Prevent "reload errors" , X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fb86ecb32f0238b916e50d70e45be5dffd2b5d6;p=gosa.git Prevent "reload errors" , "showning own lock message caused by reloading edit post" , "prevent displaying broken objects " git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2779 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index 53fa1d3ac..874e803f2 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -171,7 +171,7 @@ class applicationManagement extends plugin /* Finish apps edit is triggered by the tabulator dialog, so the user wants to save edited data. Check and save at this point. */ - if (isset($_POST['edit_finish'])){ + if ((isset($_POST['edit_finish'])) && (isset($this->apptabs->config))){ /* Check tabs, will feed message array */ $this->apptabs->last= $this->apptabs->current; @@ -205,7 +205,7 @@ class applicationManagement extends plugin } /* User wants to edit data? */ - if ($s_action=="edit"){ + if (($s_action=="edit") && (!isset($this->apptabs->config))){ /* Get 'dn' from posted 'applist', must be unique */ $this->dn= $this->applications[$s_entry]['dn']; @@ -299,7 +299,7 @@ class applicationManagement extends plugin } /* Show tab dialog if object is present */ - if ($this->apptabs){ + if (($this->apptabs) && (isset($this->apptabs->config))){ $display= $this->apptabs->execute(); /* Don't show buttons if tab dialog requests this */