summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2019-04-01 14:23:14 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2019-04-01 14:23:14 +0800
commit77933a34675cbe70f12cd682a47a9cb8a2d6b5f7 (patch)
treed22d91d8e6b6a5992552229f3f5b4cf46bee5199
parent12a890ceed8c6ae96b9c5eafad942a24bb68d50a (diff)
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 <lv.bo163@zte.com.cn>
-rw-r--r--portal/src/main/webapp/extsys/vnfm/js/vnfm-validate.js8
1 files changed, 0 insertions, 8 deletions
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