From: hickert Date: Thu, 21 Oct 2010 14:56:07 +0000 (+0000) Subject: Updated ItemSelector X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=358000fabc8a9d85c09e410a92d436db028588b9;p=gosa.git Updated ItemSelector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20116 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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.= "
".