From: hickert Date: Tue, 22 Apr 2008 08:36:18 +0000 (+0000) Subject: Updated group/apps closes #425 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8fb4cee16c8446b149977a5f9484f226043e757;p=gosa.git Updated group/apps closes #425 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10606 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/groups/apps/app_list.tpl b/gosa-plugins/goto/admin/groups/apps/app_list.tpl index a21720b06..968887426 100644 --- a/gosa-plugins/goto/admin/groups/apps/app_list.tpl +++ b/gosa-plugins/goto/admin/groups/apps/app_list.tpl @@ -14,6 +14,7 @@ {else} {/if} + {/if} diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index 00f87bb52..54b169444 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -807,6 +807,11 @@ class appgroup extends plugin $this->copied_release = $this->FAIrelease; break; } + if(preg_match("/^menu_delete/",$name)){ + $current_rel = $this->_get_release_key($this->FAIrelease); + $this->_remove_entry_id($current_rel); + break; + } if(preg_match("/^menu_paste_/",$name)){ $source_rel = $this->_get_release_key($this->copied_release); $current_rel = $this->_get_release_key($this->FAIrelease); @@ -819,6 +824,7 @@ class appgroup extends plugin $this->_add_entry($current_rel,$entry,-1); } } + $this->copied_release = ""; break; }