From ada28c4f977ada201e67858ecb8eb62cf326aefe Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Tue, 19 Feb 2013 19:02:49 +0100 Subject: [PATCH] feature #1664: Finishing coloring rows Starting work on group tab --- src/sunstone/public/js/plugins/groups-tab.js | 6 +++--- src/sunstone/public/js/sunstone-util.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sunstone/public/js/plugins/groups-tab.js b/src/sunstone/public/js/plugins/groups-tab.js index 26fbdec850..90d7aadcbd 100644 --- a/src/sunstone/public/js/plugins/groups-tab.js +++ b/src/sunstone/public/js/plugins/groups-tab.js @@ -46,13 +46,13 @@ var groups_tab_content = '\ \ \ \ - \ + \ \ \ \ \ - \ - \ + \ + \ \ \ \ diff --git a/src/sunstone/public/js/sunstone-util.js b/src/sunstone/public/js/sunstone-util.js index 47a53d6b47..0c623456c7 100644 --- a/src/sunstone/public/js/sunstone-util.js +++ b/src/sunstone/public/js/sunstone-util.js @@ -878,10 +878,10 @@ function infoListener(dataTable, info_action){ popDialogLoading(); Sunstone.runAction(info_action,id); // Take care of the coloring business - $("td:first", this).parent().children().each(function(){$(this).addClass('markrowselected');}); if(last_selected_row) last_selected_row.children().each(function(){$(this).removeClass('markrowselected');}); last_selected_row = $("td:first", this).parent(); + $("td:first", this).parent().children().each(function(){$(this).addClass('markrowselected');}); }; } else
'+tr("All")+''+tr("ID")+''+tr("Name")+''+tr("Users")+''+tr("VMs")+''+tr("Used memory")+''+tr("Used CPU")+''+tr("UMEM")+''+tr("UCPU")+'