- |
+ |
@@ -186,14 +186,16 @@
$withSearch = count($branches) > 8;
echo "';
}
if(common::hasPriv('story', 'batchChangeModule'))
@@ -201,14 +203,16 @@
$withSearch = count($modules) > 8;
echo "';
}
else
{
@@ -223,14 +227,16 @@
$withSearch = count($plans) > 8;
echo "';
}
else
{
@@ -262,15 +268,16 @@
echo html::select('assignedTo', $users, '', 'class="hidden"');
echo "";
}
else
{
diff --git a/module/project/css/task.css b/module/project/css/task.css
index bb2b722abf..d855bdf6fb 100644
--- a/module/project/css/task.css
+++ b/module/project/css/task.css
@@ -8,8 +8,13 @@
.sub-featurebar #bysearchTab.active {padding:0px;}
.sub-featurebar #bysearchTab.active:hover {background:#fff;}
-.dropdown-menu.with-search {padding-bottom: 34px; min-width: 150px; overflow: hidden; max-height: 305px}
-.dropdown-menu > .menu-search {padding: 0; position: absolute; z-index: 0; bottom: 0; left: 0; right: 0}
+.dropdown-menu.with-search {padding: 0; min-width: 150px; overflow: hidden; max-height: 302px;}
.dropdown-menu > .menu-search .input-group {width:100%;}
.dropdown-menu > .menu-search .input-group-addon {position: absolute; right: 10px; top: 0; z-index: 10; background: none; border: none; color: #666}
+.dropdown-menu > .menu-search .form-control {border: none!important; box-shadow: none!important; border-top: 1px solid #ddd!important;}
+.dropdown-list {display: block; padding: 0; max-height: 270px; overflow-y: auto;}
+.dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;}
+.dropdown-list > li > a:hover,
+.dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;}
+
.pl-5px{padding-left:5px;}
diff --git a/module/project/js/task.js b/module/project/js/task.js
index 4a1401749a..fc2fc74f7c 100644
--- a/module/project/js/task.js
+++ b/module/project/js/task.js
@@ -12,7 +12,7 @@ $(function()
}).on('keyup change paste', 'input', function()
{
var val = $(this).val().toLowerCase();
- var $options = $(this).closest('ul.dropdown-menu.with-search').find('.option');
+ var $options = $(this).closest('.dropdown-menu.with-search').find('.option');
if(val == '') return $options.removeClass('hide');
$options.each(function()
{
diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php
index fee3c4f15a..6423acfad4 100644
--- a/module/project/view/task.html.php
+++ b/module/project/view/task.html.php
@@ -76,14 +76,16 @@ js::set('browseType', $browseType);
$withSearch = count($modules) > 10;
echo "';
}
else
{
@@ -98,15 +100,16 @@ js::set('browseType', $browseType);
echo html::select('assignedTo', $memberPairs, '', 'class="hidden"');
echo "";
}
echo " ";
}
diff --git a/module/testcase/css/browse.css b/module/testcase/css/browse.css
index c83a2d9874..e3768a108e 100644
--- a/module/testcase/css/browse.css
+++ b/module/testcase/css/browse.css
@@ -1,7 +1,12 @@
.w-220px{width:220px}
-.dropdown-menu.with-search {padding-bottom: 34px; min-width: 150px; overflow: hidden; max-height: 305px}
-.dropdown-menu > .menu-search {padding: 0; position: absolute; z-index: 0; bottom: 0; left: 0; right: 0}
+.dropdown-menu.with-search {padding: 0; min-width: 150px; overflow: hidden; max-height: 302px;}
.dropdown-menu > .menu-search .input-group {width:100%;}
.dropdown-menu > .menu-search .input-group-addon {position: absolute; right: 10px; top: 0; z-index: 10; background: none; border: none; color: #666}
+.dropdown-menu > .menu-search .form-control {border: none!important; box-shadow: none!important; border-top: 1px solid #ddd!important;}
+.dropdown-list {display: block; padding: 0; max-height: 270px; overflow-y: auto;}
+.dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;}
+.dropdown-list > li > a:hover,
+.dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;}
+
.pl-5px{padding-left:5px;}
diff --git a/module/testcase/js/browse.js b/module/testcase/js/browse.js
index 9bc4c3fc8c..dbb1877696 100644
--- a/module/testcase/js/browse.js
+++ b/module/testcase/js/browse.js
@@ -34,7 +34,7 @@ $(document).ready(function()
}).on('keyup change paste', 'input', function()
{
var val = $(this).val().toLowerCase();
- var $options = $(this).closest('ul.dropdown-menu.with-search').find('.option');
+ var $options = $(this).closest('.dropdown-menu.with-search').find('.option');
if(val == '') return $options.removeClass('hide');
$options.each(function()
{
diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php
index 258bbe3306..30514bc2a3 100644
--- a/module/testcase/view/browse.html.php
+++ b/module/testcase/view/browse.html.php
@@ -75,14 +75,16 @@ js::set('batchDelete', $lang->testcase->confirmBatchDelete);
$withSearch = count($modules) > 8;
echo "';
}
else
{
|