summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d78956)
raw | patch | inline | side by side (parent: 8d78956)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2011 09:52:40 +0000 (09:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2011 09:52:40 +0000 (09:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@21043 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiProfile.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/class_faiTemplate.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc
index 2f7d34773450892951386dfc935343494794858d..9608e6a2fc36cd5d5324c6f54c1b42e4aa463409 100644 (file)
// 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");
$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 */
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 4acd6041a34f7dbf5ccda3845727fba5a6a63968..47313ac420467f4357e809df160d771ce8f86a6e 100644 (file)
// Prepare lists
$this->templateList = new sortableListing();
+ $this->templateList->setInstantDelete(false);
$this->templateList->setDeleteable(true);
$this->templateList->setEditable(true);
$this->templateList->setWidth("100%");
$this->templateList->setColspecs(array('*','18px'));
$this->templateList->setHeader(array(_("Name"),""));
$this->templateList->setDefaultSortColumn(0);
-
}