From f1cd7c1eeb06c18f2e3beedde9286aebbeae113b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 22 Oct 2014 12:30:12 +0200 Subject: [PATCH] Fix column width in groups tab --- src/sunstone/public/js/plugins/groups-tab.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sunstone/public/js/plugins/groups-tab.js b/src/sunstone/public/js/plugins/groups-tab.js index caa366459e..ae038cdfd6 100644 --- a/src/sunstone/public/js/plugins/groups-tab.js +++ b/src/sunstone/public/js/plugins/groups-tab.js @@ -448,9 +448,9 @@ var groups_tab = { '+tr("ID")+'\ '+tr("Name")+'\ '+tr("Users")+'\ - '+tr("VMs")+'\ - '+tr("Memory")+'\ - '+tr("CPU")+'\ + '+tr("VMs")+'\ + '+tr("Memory")+'\ + '+tr("CPU")+'\ \ \ \ @@ -1411,10 +1411,12 @@ $(document).ready(function(){ if (Config.isTabEnabled(tab_name)) { dataTable_groups = $("#datatable_groups",main_tabs_context).dataTable({ "bSortClasses" : false, + "bAutoWidth": false, "bDeferRender": true, "aoColumnDefs": [ { "bSortable": false, "aTargets": ["check",4,5,6] }, { "sWidth": "35px", "aTargets": [0] }, + { "sWidth": "150px", "aTargets": [4,5,6] }, { "bVisible": true, "aTargets": Config.tabTableColumns(tab_name)}, { "bVisible": false, "aTargets": ['_all']} ]