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 2016/06/23 14:39:50 UTC
svn commit: r1749902 -
/qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
Author: orudyy
Date: Thu Jun 23 14:39:50 2016
New Revision: 1749902
URL: http://svn.apache.org/viewvc?rev=1749902&view=rev
Log:
QPID-7288: Fix issue with rendering of connection grid headers
Modified:
qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
Modified: qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js?rev=1749902&r1=1749901&r2=1749902&view=diff
==============================================================================
--- qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js (original)
+++ qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/management/VirtualHost.js Thu Jun 23 14:39:50 2016
@@ -394,6 +394,15 @@ define(["dojo/parser",
}, findNode("connections"));
that.connectionsGrid.startup();
+ // Add onShow handler to work around an issue with not rendering of grid columns before first update.
+ // It seems if dgrid is created when tab is not shown (not active) the grid columns are not rendered.
+ this.contentPane.on("show",
+ function()
+ {
+ that.connectionsGrid.resize();
+ });
+
+
that.virtualHostLoggersGrid = new UpdatableStore([], findNode("loggers"), [{
name: "Name",
field: "name",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org