diff options
| author | wangwei <[email protected]> | 2019-06-25 09:36:29 +0800 |
|---|---|---|
| committer | wangwei <[email protected]> | 2019-06-25 09:36:29 +0800 |
| commit | d12973f2bf944047d9d34b0146e6078eb714b3cb (patch) | |
| tree | 8f7f74fd78e3fee83a132a81bc87b1cff89d9d49 | |
| parent | c9f99cb59275e7d3c10667de4323987a04e76766 (diff) | |
可新证书页面去除文件格式校验
| -rw-r--r-- | src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/trustedCertForm.jsp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/trustedCertForm.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/trustedCertForm.jsp index 006acc065..604bc575b 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/trustedCertForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/trustedCertForm.jsp @@ -10,7 +10,7 @@ $(function(){ });
$("#certFileI").on('change', function() {
$("#certFileInfo").val($("#certFileI").val());
- certFileValidate();
+ /* certFileValidate(); */
});
$("#cfgFrom").validate({
@@ -24,12 +24,12 @@ $(function(){ submitHandler: function(form){
var certFile = $("#certFileInfo").val();
- if(certFile!=''){
+ /* if(certFile!=''){
if(!certFileValidate()){
return false;
}
- }
+ } */
certFile=$("#certFileInfo").val();
if((certFile==null || certFile=="")){
$("div[for='certFileI']").append("<label id='level-error' class='error' for='certFileI'><spring:message code='required'></spring:message></label>");
@@ -196,7 +196,6 @@ function certFileValidate(){ <input id="certFile" name="certFile" type="hidden" value="${_cfg.certFile }"/>
</div>
</div>
- <label ><i class='fa fa-info-circle'></i> <spring:message code='pem'/></label>
<div id="certInfo"></div>
<div for="certFileInfo"></div>
</div>
|
