撤销ipForm.jsp的修改
This commit is contained in:
@@ -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>
|
||||||
Reference in New Issue
Block a user