From 6f5db10dd92cb4ca834a5f5fcb256e632625d7fa Mon Sep 17 00:00:00 2001 From: lakshya Date: Fri, 13 Sep 2013 11:18:53 -0700 Subject: [PATCH] Fix for Cannot delete static flow in a container via GUI. Change-Id: I68bd28b775503a9afe2bd41bc1bc64ece9a81e1c Signed-off-by: lakshya --- opendaylight/web/flows/src/main/resources/js/page.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendaylight/web/flows/src/main/resources/js/page.js b/opendaylight/web/flows/src/main/resources/js/page.js index 8bc2a99378..a3d9422dfe 100644 --- a/opendaylight/web/flows/src/main/resources/js/page.js +++ b/opendaylight/web/flows/src/main/resources/js/page.js @@ -1313,10 +1313,10 @@ one.f.flows = { data: data.flows, formatter: function(items) { $.each(items, function(index, item) { - var $checkbox = document.createElement("input"); + var $checkbox = document.createElement("input"); $checkbox.setAttribute("type", "checkbox"); $checkbox.setAttribute("name", item.name); - $checkbox.setAttribute("node", item.node); + $checkbox.setAttribute("node", item.nodeId); $checkbox.setAttribute('class','flowEntry') item.selector = $checkbox.outerHTML; item["name"] = '