You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2017/11/01 13:38:05 UTC

qpid-broker-j git commit: QPID-7995: [Broker-J][WMC] Make sure that grid row is selected before invoking the delete operation

Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 31ee9c780 -> d8d03ebf3


QPID-7995: [Broker-J][WMC] Make sure that grid row is selected before invoking the delete operation


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/d8d03ebf
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/d8d03ebf
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/d8d03ebf

Branch: refs/heads/master
Commit: d8d03ebf3bb8c822590fdedc45bf4daa3c85f4c2
Parents: 31ee9c7
Author: Alex Rudyy <or...@apache.org>
Authored: Wed Nov 1 13:37:42 2017 +0000
Committer: Alex Rudyy <or...@apache.org>
Committed: Wed Nov 1 13:38:01 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/resources/js/qpid/management/VirtualHost.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/d8d03ebf/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
----------------------------------------------------------------------
diff --git a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
index 864fea2..5cae427 100644
--- a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
+++ b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
@@ -181,7 +181,7 @@ define(["dojo/parser",
             var selection = dgrid.selection;
             for(var item in selection)
             {
-                if (selection.hasOwnProperty(item))
+                if (selection.hasOwnProperty(item) && selection[item])
                 {
                     selected.push(item);
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org