Code

Fixed removal of template entries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2011 09:37:15 +0000 (09:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2011 09:37:15 +0000 (09:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21041 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiTemplate.inc

index 4acd6041a34f7dbf5ccda3845727fba5a6a63968..47313ac420467f4357e809df160d771ce8f86a6e 100644 (file)
@@ -69,6 +69,7 @@ class faiTemplate extends plugin
 
     // Prepare lists
     $this->templateList = new sortableListing();
+    $this->templateList->setInstantDelete(false);
     $this->templateList->setDeleteable(true);
     $this->templateList->setEditable(true);
     $this->templateList->setWidth("100%");
@@ -76,7 +77,6 @@ class faiTemplate extends plugin
     $this->templateList->setColspecs(array('*','18px'));
     $this->templateList->setHeader(array(_("Name"),""));
     $this->templateList->setDefaultSortColumn(0);
-
   }