撤销ipForm.jsp的修改

This commit is contained in:
wangxin
2018-07-31 12:23:23 +08:00
parent 8b3efbcfbf
commit ce527e1c19

View File

@@ -46,18 +46,6 @@ $(function(){
} }
}); });
} }
if('${specialProtocol}'&&'${specialProtocol}'=='ipsec'){
alert(222);
$("[name='action']").on("change",function(){
if($(this).is(":checked")){
if($(this).val()==32){
alert(111);
}else{
}
}
});
}
$("#ipCfgFrom").validate({ $("#ipCfgFrom").validate({
errorPlacement: function(error,element){ errorPlacement: function(error,element){
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error); $(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
@@ -278,7 +266,4 @@ $(function(){
</div> </div>
</div> </div>
</body> </body>
<script type="text/javascript">
</script>
</html> </html>