' +
values['label'] +
@@ -1301,7 +1287,7 @@ function createItem(type, values, id_data) {
}
});
- item = $('' +
+ item = $('
' +
'

' +
'
'
);
@@ -1474,7 +1460,6 @@ function updateDB_visual(type, idElement , values, event, top, left) {
$("#" + idElement).css('top', '0px').css('top', top + 'px');
$("#" + idElement).css('left', '0px').css('left', left + 'px');
}
- $("#" + idElement).css('color', values['label_color']);
//Update the lines
end_foreach = false;
diff --git a/pandora_console/godmode/reporting/visual_console_builder.elements.php b/pandora_console/godmode/reporting/visual_console_builder.elements.php
old mode 100644
new mode 100755
index 68164a1913..1d3d2be19d
--- a/pandora_console/godmode/reporting/visual_console_builder.elements.php
+++ b/pandora_console/godmode/reporting/visual_console_builder.elements.php
@@ -67,9 +67,6 @@ $table->size = array();
$table->size['icon'] = '1%';
$table->size[0] = '25%';
-$table->style = array();
-$table->style[1] = 'background-color: #ffffff;';
-
$table->align = array();
$table->align[0] = "left";
$table->align[1] = "right";
@@ -162,17 +159,7 @@ foreach ($layoutDatas as $layoutData) {
//First row
//Label and color label
- if ($layoutData['type'] != ICON) {
- $table->data[$i + 1][0] = '
' .
- html_print_input_hidden('label_' . $idLayoutData, $layoutData['label'], true) .
- '' . __('Edit label') .'' .
- html_print_input_text_extended ('label_color_' . $idLayoutData, $layoutData['label_color'], 'text-'.'label_color_' . $idLayoutData, '', 7, 7, false, '', 'style="visibility: hidden; width: 0px;" class="label_color"', true) .
- '';
- }
- else {
- //Icon haven't the label.
- $table->data[$i + 1][0] = '';
- }
+ $table->data[$i + 1][0] = '';
@@ -395,9 +382,6 @@ ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');