Code

Display added profiles directly
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Sep 2007 06:20:10 +0000 (06:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Sep 2007 06:20:10 +0000 (06:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7311 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index b1590af36b5e4e211f231c58a48a7af7964ba91a..7e902dd9807f04dd109c941395baf8de9d36f08d 100644 (file)
@@ -493,6 +493,11 @@ class environment extends plugin
     if(isset($_POST['KioskClose'])){
       $this->newKioskProfiles = array_merge($this->newKioskProfiles,$this->dialog->save());
 
+      /* Update list of kiosk profiles */
+      $list = $this->dialog->getKioskProfiles($this->newKioskProfiles);
+      $list['none']=_("None");
+      $this->kioskProfileList = array_reverse($list);
+
       unset($this->dialog);
       $this->dialog=NULL;
       $this->is_dialog = false;