From: hickert Date: Mon, 7 Nov 2011 09:47:48 +0000 (+0000) Subject: Fixed removal of profiles X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b5a557be5ac404938109e6ad400c4714e2917a48;p=gosa.git Fixed removal of profiles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21042 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc index 2f7d34773..9608e6a2f 100644 --- a/gosa-plugins/fai/admin/fai/class_faiProfile.inc +++ b/gosa-plugins/fai/admin/fai/class_faiProfile.inc @@ -99,6 +99,7 @@ class faiProfile extends plugin // Prepare lists $this->classList = new sortableListing(array(),array(), TRUE); $this->classList->setDeleteable(true); + $this->classList->setInstantDelete(false); $this->classList->setEditable(false); $this->classList->setWidth("100%"); $this->classList->setHeight("200px"); @@ -141,10 +142,10 @@ class faiProfile extends plugin $sort_once = false; if(!preg_match("/freeze/",$this->FAIstate)){ - if(isset($_POST['AddClass']) && $this->acl_is_writeable("FAIclass")){ + if(isset($_POST['AddClass']) && $this->acl_is_writeable("FAIclass")){ $this->classSelect = new classSelect($this->config, get_userinfo()); $this->dialog =true; - } + } /* Save Dialog */