diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 80b3a22af..357e2d3db 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -362,10 +362,10 @@ data['inputshape']= $('#inputshape').val(); if(inputshapeNotValid(data['inputshape'])){ - $("#task_name").addClass("error") + $("#inputshape_div").addClass("error") return false }else{ - $("#task_name").removeClass("error") + $("#inputshape_div").removeClass("error") } data['inputdataformat']= $('#inputdataformat').val();