diff options
author | Luji7 <lu.ji3@zte.com.cn> | 2016-09-29 20:18:59 +0800 |
---|---|---|
committer | Luji7 <lu.ji3@zte.com.cn> | 2016-09-29 20:18:59 +0800 |
commit | 9a9f0ecaa04b6120c82537e34771ff930db59e9b (patch) | |
tree | 96708f2b79f5d9175b57d5b22b95c6450dbba695 /openo-portal | |
parent | 0a5a7110b7b86794749b7216d6de311dea12cfab (diff) |
Fix bug, service instance in table cannot be deleted.
Change-Id: Id8833f90ec27687249b0e390c5d181809be5b9a5
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'openo-portal')
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js index bd906821..fbab0100 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js @@ -324,7 +324,7 @@ function deleteNe(rowId, row) { var serviceType = row.serviceType; var gatewayService = 'http://localhost:8080/openoapi/servicegateway/v1/services'; var remove = function () { - $('#sai').bootstrapTable("removeByUniqueId", rowId); + $('#sai').bootstrapTable('remove', {field: 'serviceId', values: [instanceId]}); }; if(serviceType === 'GSO') { deleteGsoServiceInstance(gatewayService, instanceId, remove) |