2014-03-31 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the status color
	of the percentile bars and bubbles.
	
	Incident: #555




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-03-31 16:28:35 +00:00
parent 2c6586a4b7
commit e290e8c315
2 changed files with 5 additions and 3 deletions

View File

@ -204,9 +204,9 @@ switch ($action) {
// Single object
}
elseif (($layoutData["type"] == 0)
|| ($layoutData["type"] == 3)
|| ($layoutData["type"] == 4)) {
elseif (($layoutData["type"] == STATIC_GRAPH)
|| ($layoutData["type"] == PERCENTILE_BAR)
|| ($layoutData["type"] == LABEL)) {
// Status for a simple module
if ($layoutData['id_agente_modulo'] != 0) {
$status = modules_get_agentmodule_status ($layoutData['id_agente_modulo']);

View File

@ -926,6 +926,8 @@ function visual_map_get_status_element($layoutData) {
else {
switch ($layoutData["type"]) {
case STATIC_GRAPH:
case PERCENTILE_BAR:
case PERCENTILE_BUBBLE:
if ($layoutData['id_metaconsole'] != 0) {
//Metaconsole db connection
$connection = db_get_row_filter ('tmetaconsole_setup',