* fix UI of testcase/create view.

This commit is contained in:
Catouse
2018-11-15 10:18:36 +08:00
parent f724c7ddb6
commit c8c769427a
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
.row .col-sm-2{padding-left:0px; width:11%;}
#module + .chosen-container-single .chosen-single,
#stage + .chosen-container-multi .chosen-choices {border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px;}
#module + .chosen-container-single .chosen-single {border-top-right-radius: 0; border-bottom-right-radius: 0; margin-left: -1px;}
#stage + .chosen-container-multi .chosen-choices {border-top-left-radius: 0; border-bottom-left-radius: 0;}
#module + .chosen-container-single .chosen-single {border-top-right-radius: 0; border-bottom-right-radius: 0;}
.dropdown-pris > .btn {background-color: #fff; text-shadow: none}
+4 -2
View File
@@ -85,8 +85,10 @@ function loadProductModules(productID, branch)
link = createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=case&branch=' + branch + '&rootModuleID=0&returnType=html&fieldID=&needManage=true');
$('#moduleIdBox').load(link, function()
{
$(this).find('select').chosen()
if(typeof(caseModule) == 'string') $('#moduleIdBox').prepend("<span class='input-group-addon'>" + caseModule + "</span>")
var $inputGroup = $(this);
$inputGroup.find('select').chosen()
if(typeof(caseModule) == 'string') $('#moduleIdBox').prepend("<span class='input-group-addon'>" + caseModule + "</span>");
$inputGroup.fixInputGroup();
});
setStories();
}