From: Lvbo163 Date: Mon, 1 Apr 2019 06:23:14 +0000 (+0800) Subject: Fix ESR doesn't support domain name in vnfm registration GUI X-Git-Tag: 4.0.0-ONAP^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=77933a34675cbe70f12cd682a47a9cb8a2d6b5f7;p=aai%2Fesr-gui.git Fix ESR doesn't support domain name in vnfm registration GUI "http://msb-age:80" does not satisfy the url validation of jquery validate, remove validate on url Issue-ID: AAI-1920 Change-Id: Ic0f1cee9ce68ab0c5c4af1b6deb06412e949f0b5 Signed-off-by: Lvbo163 --- diff --git a/portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js b/portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js index 627d6d5..0c21ebf 100644 --- a/portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js +++ b/portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js @@ -39,10 +39,6 @@ $(function () { vendor: { required: true, maxlength: 20 - }, - url: { - required: true, - url: true } }, messages: { @@ -57,10 +53,6 @@ $(function () { }, vendor: { required: $.i18n.prop("nfv-vnfm-iui-validate-vendor") - }, - url: { - required: $.i18n.prop("nfv-vnfm-iui-validate-url-required"), - url: $.i18n.prop("nfv-vnfm-iui-validate-url") } }, errorPlacement: function (error, element) { // render error placement for each input type