From ad049b14a7bdd679034dc3642e4ccaa7637c1f52 Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 22 Sep 2010 21:08:15 +0000 Subject: [PATCH] Add minimum width for ping and power columns so that the loader could be displayed nicely. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/nodes/nodes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index d8f13f7e6..f88f226b3 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -627,6 +627,10 @@ function loadNodes(data) { pingCol.unbind('click'); powerCol.unbind('click'); + // Create enough space for loader to be displayed + $('#nodesDataTable tbody tr td:nth-child(3)').css('min-width', '60px'); + $('#nodesDataTable tbody tr td:nth-child(4)').css('min-width', '60px'); + // Instead refresh the ping status and power status pingCol.bind('click', function(event) { refreshPingStatus(group);