summaryrefslogtreecommitdiffstats
path: root/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2017-11-01 14:55:19 +0800
committerLuji7 <lu.ji3@zte.com.cn>2017-11-01 14:57:14 +0800
commitd0fc97abef13dbce379e4e779abd186ec0dc59f3 (patch)
treebecb2339660d27b20474be599cb21f4512ae67cb /usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js
parent6546c1297f764b71989e664ed41b0f12ffa40d1f (diff)
Fix vimId format wrong.
Change-Id: I363e77e1a0cc5c8c5acbac3ddbb7b01ee67ddd2d Issue-id: USECASEUI-53 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js')
-rw-r--r--usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js24
1 files changed, 1 insertions, 23 deletions
diff --git a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js
index f443f349..78e32aea 100644
--- a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js
+++ b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js
@@ -83,29 +83,7 @@ app.controller('lcmCtrl', ['$scope', '$uibModal', '$log', '$http', '$timeout', '
};
ctrl.packageOnboard = function (onboardPackage) {
- var modalInstance = $uibModal.open({
- ariaLabelledBy: 'modal-title',
- ariaDescribedBy: 'modal-body',
- templateUrl : 'app/uui/fusion/scripts/view-models/vnf-ns-onboard-dialog.html',
- controller : 'packageOnboardCtrl',
- controllerAs : 'ctrl',
- resolve: {
- onboardPackage: function () {
- return onboardPackage;
- }
- }
- });
- modalInstance.result.then(
- function(result) {
- console.log('receive ok button clicked!');
- console.log(result);
- },
- function(reason) {
- console.log('receive cancel button clicked!');
- console.log(reason);
- $log.info('Modal dismissed at: ' + new Date());
- }
- );
+ ServiceTemplateService.packageOnboard(onboardPackage);
};
}
]