From 17817febd6b1983e4c0004d6b3a515d67551cb01 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Sep 2007 06:18:52 +0000 Subject: [PATCH] Display added kiosk profiles directly in ddropdown box git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7310 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 7a71c8d93..4e1f3b001 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -451,7 +451,12 @@ class environment extends plugin /* Save */ 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; -- 2.30.2