From: lakshya Date: Fri, 13 Sep 2013 18:18:53 +0000 (-0700) Subject: Fix for Cannot delete static flow in a container via GUI. X-Git-Tag: releasepom-0.1.0~92 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=6f5db10dd92cb4ca834a5f5fcb256e632625d7fa Fix for Cannot delete static flow in a container via GUI. Change-Id: I68bd28b775503a9afe2bd41bc1bc64ece9a81e1c Signed-off-by: lakshya --- 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"] = '