From 358000fabc8a9d85c09e410a92d436db028588b9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Oct 2010 14:56:07 +0000 Subject: [PATCH] Updated ItemSelector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20116 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ItemSelector.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_ItemSelector.inc b/gosa-core/include/class_ItemSelector.inc index 9223a73cd..266ddc42d 100644 --- a/gosa-core/include/class_ItemSelector.inc +++ b/gosa-core/include/class_ItemSelector.inc @@ -175,6 +175,11 @@ class ItemSelector { $link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($this->releaseBase)."'; $('submit_tree_base_".$this->pid."').click();\""; + $initialValue = ""; + if(isset($this->pathMapping[$this->base])){ + $initialValue = $this->pathMapping[$this->base]; + } + $this->tree= "pid."')\" - value=\"".preg_replace('/"/','"',$this->pathMapping[$this->base])."\">"; + value=\"".preg_replace('/"/','"',$initialValue)."\">"; // Autocompleter $this->tree.= "
". -- 2.30.2