Fix ESR doesn't support domain name in vnfm registration GUI 30/83830/1
authorLvbo163 <lv.bo163@zte.com.cn>
Mon, 1 Apr 2019 06:23:14 +0000 (14:23 +0800)
committerLvbo163 <lv.bo163@zte.com.cn>
Mon, 1 Apr 2019 06:23:14 +0000 (14:23 +0800)
"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 <lv.bo163@zte.com.cn>
portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js

index 627d6d5..0c21ebf 100644 (file)
@@ -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