summaryrefslogtreecommitdiffstats
path: root/portal/src/main/webapp/extsys/ems
diff options
context:
space:
mode:
author覃亮10184303 <qin.liang13@zte.com.cn>2017-09-22 17:11:13 +0800
committer覃亮10184303 <qin.liang13@zte.com.cn>2017-09-22 17:13:35 +0800
commit78f561032a62cf21ef43615aa4ba3ccbdd5fc596 (patch)
treea79e73e0c6ff9222aa8912fea13e258288c514a0 /portal/src/main/webapp/extsys/ems
parent542b94df5a08d4e2bd68816481986b4963df68c6 (diff)
Integrate esr-gui with server for vnfm
Issue-ID: AAI-348 Change-Id: If9685418a38d2b8b2b3dfee6ebbcda369b00edc7 Signed-off-by: 覃亮10184303 <qin.liang13@zte.com.cn>
Diffstat (limited to 'portal/src/main/webapp/extsys/ems')
-rw-r--r--portal/src/main/webapp/extsys/ems/i18n/nfv-nso-iui-i18n-en-US.properties2
-rw-r--r--portal/src/main/webapp/extsys/ems/js/emsController.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/portal/src/main/webapp/extsys/ems/i18n/nfv-nso-iui-i18n-en-US.properties b/portal/src/main/webapp/extsys/ems/i18n/nfv-nso-iui-i18n-en-US.properties
index f39749a..150a125 100644
--- a/portal/src/main/webapp/extsys/ems/i18n/nfv-nso-iui-i18n-en-US.properties
+++ b/portal/src/main/webapp/extsys/ems/i18n/nfv-nso-iui-i18n-en-US.properties
@@ -53,3 +53,5 @@ nfv-ems-iui-validate-ems=Please select a EMS
nfv-ems-iui-validate-url-required=Please enter the URL
nfv-ems-iui-validate-url=Please enter the right URL
nfv-ems-iui-text-url-tip=Example: http://10.0.0.1
+
+
diff --git a/portal/src/main/webapp/extsys/ems/js/emsController.js b/portal/src/main/webapp/extsys/ems/js/emsController.js
index 107131d..fea1820 100644
--- a/portal/src/main/webapp/extsys/ems/js/emsController.js
+++ b/portal/src/main/webapp/extsys/ems/js/emsController.js
@@ -282,7 +282,7 @@ var vm = avalon.define({
data: JSON.stringify(currentElement),
dataType: "json",
contentType: "application/json",
- success: function (data) {
+ success: function (data, statusText, jqXHR) {
vm.server_rtn.info_block = false;
vm.server_rtn.warning_block = false;
if (data) {
@@ -340,7 +340,7 @@ var vm = avalon.define({
emsSave.performanceAddr = vm.currentElement.performanceAddr.$model;
return emsSave;
}
- });
+});
vm.currentElement = $.extend(true, {}, vm.$newElement);
avalon.scan();
vm.$initTable(); \ No newline at end of file