| @@ -235,13 +235,14 @@ | |||||
| if(nodes[i].isParent){ | if(nodes[i].isParent){ | ||||
| continue; | continue; | ||||
| } | } | ||||
| var path = nodes[i].getPath(); | |||||
| v += nodes[i].name + ";"; | v += nodes[i].name + ";"; | ||||
| } | } | ||||
| if (v.length > 0 ) v = v.substring(0, v.length-1); | if (v.length > 0 ) v = v.substring(0, v.length-1); | ||||
| var cityObj = $("#modelSelectedFile"); | var cityObj = $("#modelSelectedFile"); | ||||
| cityObj.attr("value", v); | cityObj.attr("value", v); | ||||
| } | } | ||||
| function showMenu() { | function showMenu() { | ||||
| var cityObj = $("#modelSelectedFile"); | var cityObj = $("#modelSelectedFile"); | ||||
| var cityOffset = $("#modelSelectedFile").offset(); | var cityOffset = $("#modelSelectedFile").offset(); | ||||
| @@ -286,9 +287,9 @@ | |||||
| $("#job-name").empty() | $("#job-name").empty() | ||||
| createModelName() | createModelName() | ||||
| loadTrainList() | loadTrainList() | ||||
| }, | }, | ||||
| onHide: function () { | onHide: function () { | ||||
| $('input[name="modelSelectedFile"]').val(""); | |||||
| document.getElementById("formId").reset(); | document.getElementById("formId").reset(); | ||||
| $('#choice_model').dropdown('clear') | $('#choice_model').dropdown('clear') | ||||
| $('#choice_version').dropdown('clear') | $('#choice_version').dropdown('clear') | ||||