Authored by qinchao

修复bug

... ... @@ -185,7 +185,7 @@
<script src="<%=basePath%>js/bootstrap.min.js"></script>
<script src="<%=basePath%>js/select2.min.js"></script>
<script src="<%=basePath%>js/custom.js"></script>
<script src="<%=basePath%>script/build/node_project.js?v=20180312"></script>
<script src="<%=basePath%>script/build/node_project.js?v=20180312-2"></script>
<script src="<%=basePath %>/js/unicorn.js"></script>
<script src="<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"></script>
... ...
... ... @@ -275,6 +275,10 @@ function changeservers() {
function branchdefault() {
var operate = $("input[name='operate']:checked").val();
if (operate == "Deploy") {
if(default_releaseWorkJob_branch!=null&&default_releaseWorkJob_branch.length>0){
$("input[name='branch']").val(default_releaseWorkJob_branch);
return;
}
$("input[name='branch']").val("master");
}
}
... ...