From 3aa200de5a74b1d1bcb3bc0db6b2fa96bf8a10f9 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 30 Apr 2010 13:24:47 +0000 Subject: [PATCH] Improved release selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18000 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_releaseSelector.inc | 24 ++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_releaseSelector.inc b/gosa-core/include/class_releaseSelector.inc index ff78ca504..17f0e7200 100644 --- a/gosa-core/include/class_releaseSelector.inc +++ b/gosa-core/include/class_releaseSelector.inc @@ -145,11 +145,29 @@ class releaseSelector { /* Skip if there's no change */ if (($this->tree && $this->base == $last_base) && !$force) { - return true; + return true; } - $link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($this->releaseBase)."'; $('submit_tree_base_".$this->pid."').click();\""; - $this->tree= "pid."').hide()\" onfocus=\"\$('bs_".$this->pid."').hide()\" onmouseover=\"Element.clonePosition(\$('bs_".$this->pid."'), 'bs_input_".$this->pid."', {setHeight: false, setWidth: false, offsetTop:(Element.getHeight('bs_input_".$this->pid."'))});Element.show.delay(0.25,\$('bs_".$this->pid."'));\" onmouseout=\"rtimer= Element.hide.delay(0.25, 'bs_".$this->pid."')\" value=\"".preg_replace('/"/', '"',$this->pathMapping[$this->base])."\">"; + $link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($this->releaseBase)."'; + $('submit_tree_base_".$this->pid."').click();\""; + + $this->tree= "pid}').hide(); \" + onfocus=\" \$('bs_{$this->pid}').hide(); \" + onmouseover=\" Element.clonePosition(\$('bs_".$this->pid."'), + 'bs_input_".$this->pid."', + {setHeight: false, setWidth: false, offsetTop:(Element.getHeight('bs_input_".$this->pid."'))}); + \$('bs_".$this->pid."').show(); \" + + onmouseout=\" rtimer=Element.hide.delay(0.25,'bs_".$this->pid."')\" + + value=\"".preg_replace('/"/','"',$this->pathMapping[$this->base])."\">"; // Autocompleter $this->tree.= "
". -- 2.30.2