feature #1664: Finishing coloring rows

Starting work on group tab
This commit is contained in:
Tino Vazquez committed 2013-02-19 19:02:49 +01:00
1 parent 2b27f28e89
commit ada28c4f97
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -46,13 +46,13 @@ var groups_tab_content = '\
<table id="datatable_groups" class="display">\
<thead>\
<tr>\
<th class="check"><input type="checkbox" class="check_all" value="">'+tr("All")+'</input></th>\
<th class="check"><input type="checkbox" class="check_all" value=""></input></th>\
<th>'+tr("ID")+'</th>\
<th>'+tr("Name")+'</th>\
<th>'+tr("Users")+'</th>\
<th>'+tr("VMs")+'</th>\
<th>'+tr("Used memory")+'</th>\
<th>'+tr("Used CPU")+'</th>\
<th>'+tr("UMEM")+'</th>\
<th>'+tr("UCPU")+'</th>\
</tr>\
</thead>\
<tbody id="tbodygroups">\
+1 -1
View File
@@ -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