Update edit.html

master
massinger 6 years ago committed by GitHub
parent bc84e440b7
commit 13b1d2391a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      proxy-server/webpages/lanproxy-config/html/lan/edit.html

@ -64,10 +64,6 @@ $(".update").click(function(){
layer.alert($.i18n.prop('lan.notice.inputlan'), {title:"Tips"}); layer.alert($.i18n.prop('lan.notice.inputlan'), {title:"Tips"});
return; return;
} }
if(!check_lan(lan)){
layer.alert($.i18n.prop('lan.notice.errorlan'), {title:"Tips"});
return;
}
clientList[clientIndex].proxyMappings[mappingIndex]= { clientList[clientIndex].proxyMappings[mappingIndex]= {
name:name, name:name,
@ -88,4 +84,4 @@ $(".update").click(function(){
$(".back").click(function(){ $(".back").click(function(){
load_page("html/lan/list.html"); load_page("html/lan/list.html");
}); });
</script> </script>

Loading…
Cancel
Save