Authored by qinchao

修复bug

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