Authored by qinchao

修改bug

@@ -847,7 +847,7 @@ @@ -847,7 +847,7 @@
847 })*/ 847 })*/
848 848
849 </script> 849 </script>
850 -<script type="text/javascript" src="<%=basePath %>/script/yoho.type.tree.js?v=20171108-36"></script> 850 +<script type="text/javascript" src="<%=basePath %>/script/yoho.type.tree.js?v=20171129-1"></script>
851 851
852 852
853 <div class="modal fade" id="myModal" tabindex="-1" role="dialog" 853 <div class="modal fade" id="myModal" tabindex="-1" role="dialog"
@@ -224,7 +224,7 @@ var doAddType = function () { @@ -224,7 +224,7 @@ var doAddType = function () {
224 return; 224 return;
225 } 225 }
226 var isleaf = $('#cb_new_type_isleaf').prop("checked") == true ? 1 : 0; 226 var isleaf = $('#cb_new_type_isleaf').prop("checked") == true ? 1 : 0;
227 - $.get(contextPath+"/type/add", {"pid": pid, "name": name, "isleaf": isleaf}, 227 + $.get(contextPath+"/type/add", {"pid": pid, "name": name, "isleaf": isleaf,"tags":""},
228 function (data, state) { 228 function (data, state) {
229 var repjson = JSON.parse(data); 229 var repjson = JSON.parse(data);
230 if (state == "success" && repjson.code == 200) { 230 if (state == "success" && repjson.code == 200) {