From: cajus Date: Thu, 28 Jan 2010 10:12:39 +0000 (+0000) Subject: Updated base selector X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0e6fc49306dd18c2979b23069bbb80dd1c0a67f;p=gosa.git Updated base selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15400 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/themes/default/style.css b/gosa-core/html/themes/default/style.css index 944d5c223..7ed48fd59 100644 --- a/gosa-core/html/themes/default/style.css +++ b/gosa-core/html/themes/default/style.css @@ -2028,7 +2028,6 @@ ul.treeList a:hover { } a.treeList { - font-weight: bold; padding: 2px; } @@ -2052,7 +2051,6 @@ ul.treeList li { padding: 0 12px; line-height: 20px; background: url(../../images/lists/node.png) no-repeat; - font-weight: bold; } li.treeListSelected a { @@ -2074,6 +2072,8 @@ div.treeList { padding: 5px; height: 500px; display: inline-block; + position: absolute; + z-index: 500; overflow-y: auto; } diff --git a/gosa-core/include/class_baseSelector.inc b/gosa-core/include/class_baseSelector.inc index 9ca0a4295..28d0025c2 100644 --- a/gosa-core/include/class_baseSelector.inc +++ b/gosa-core/include/class_baseSelector.inc @@ -23,6 +23,7 @@ class baseSelector { private $base; + private $pid; protected $tree; protected $pathMapping; @@ -37,6 +38,10 @@ class baseSelector { function __construct($bases, $base= "") { + // Initialize pid + $this->pid= preg_replace("/[^0-9]/", "", microtime(TRUE)); + + // Transfer data $this->setBases($bases); $this->setBase($base); $this->update(); @@ -59,7 +64,6 @@ class baseSelector { $this->pathMapping= array(); $selected= $this->base == $config->current['BASE']?"Selected":""; - $this->tree= "
"._("Root")."