summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-04-26 19:01:39 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-04-26 19:01:39 +0800
commit2fffc13200aeba268f0aaf3fe6ab8b5280a8f6ae (patch)
tree759107b4f16ea8421dd249cfdb90fd410b9745d2
parent54d5daf4ed36250f0d7c25d1872e79f65d2e6204 (diff)
fix Delete sdncontroller failed issue
fix Delete sdncontroller failed issue Change-Id: I167cbc897342b86aa13c364d3f719c85d738171c Issue-ID:CLIENT-200 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
-rw-r--r--extsys/src/main/webapp/extsys/sdncontroller/js/app.js2
-rw-r--r--extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/extsys/src/main/webapp/extsys/sdncontroller/js/app.js b/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
index 1fd60c99..e856ef7d 100644
--- a/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
+++ b/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
@@ -287,7 +287,7 @@ var app = angular.module("ControllerApp", ["ui.router", "ngTable"])
"msg": "Do you really wanted to Delete?.",
"buttons": [
{
- "text": "Ok", "action": "deleteConfirmation("+id+")"
+ "text": "Ok", "action": "deleteConfirmation('"+[id]+"')"
}]
}};
angular.forEach($scope.checkboxes.items, function(value) {
diff --git a/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html b/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
index d0bd5c1c..a97550db 100644
--- a/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
+++ b/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
@@ -60,8 +60,8 @@
<td title="'Action'">
<!-- <span class="pull-right glyphicon glyphicon-edit" ng-click="editData(controllerData.name)" style="cursor: pointer;margin: 0 5px"></span>
<span class="pull-right glyphicon glyphicon-trash" ng-click="deleteIndividualData(controllerData.name)" style="cursor: pointer;margin: 0 5px"></span>-->
- <span ng-click="editData(controllerData.id)" style="cursor: pointer;margin: 0 5px"> <img src="framework/images/edit.png" height="15" align="left"/></span>
- <span ng-click="deleteData(controllerData.id)" style="cursor: pointer;margin: 0 5px"><img src="framework/images/delete.png" height="15" align="middle"/></span>
+ <span ng-click="editData(controllerData.sdnControllerID)" style="cursor: pointer;margin: 0 5px"> <img src="/openoui/framework/browser/thirdparty/images/edit.png" height="15" align="left"/></span>
+ <span ng-click="deleteData(controllerData.sdnControllerID)" style="cursor: pointer;margin: 0 5px"><img src="/openoui/framework/browser/thirdparty/images/delete.png" height="15" align="middle"/></span>
</td>
</tr>
</table>