Merge "Fix flow installation state in UI"
authorGiovanni Meo <gmeo@cisco.com>
Fri, 17 Jan 2014 09:14:04 +0000 (09:14 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 17 Jan 2014 09:14:04 +0000 (09:14 +0000)
opendaylight/web/flows/src/main/resources/js/page.js

index 6b4cfa0..094562f 100644 (file)
@@ -390,8 +390,8 @@ one.f.flows = {
                     $tr = $(tr);
                     $span = $("td span", $tr);
                     var flowstatus = $span.data("flowstatus");
-                    if($span.data("installInHw") != null) {
-                        var installInHw = $span.data("installInHw").toString();
+                    if($span.data("installinhw") != null) {
+                        var installInHw = $span.data("installinhw").toString();
                         if(installInHw == "true" && flowstatus == "Success") {
                             $tr.addClass("success");
                         } else {