diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js
index 2c98fb5493..706bafe151 100755
--- a/pandora_console/godmode/reporting/visual_console_builder.editor.js
+++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js
@@ -1974,6 +1974,8 @@ function setEventsBar(id_data, values) {
if (data['no_data'] == true) {
if (values['width'] == "0" || values['height'] == "0") {
$("#" + id_data + " img").attr('src', url_hack_metaconsole + 'images/console/signes/module-events.png');
+ $("#" + id_data + " img").css('width', '500px');
+ $("#" + id_data + " img").css('height', '40px');
}
else {
$("#" + id_data + " img").attr('src', url_hack_metaconsole + 'images/console/signes/module-events.png');
@@ -1985,8 +1987,8 @@ function setEventsBar(id_data, values) {
$("#" + id_data + " img").attr('src', url_hack_metaconsole + 'images/console/signes/module-events.png');
if($('#text-width').val() == 0 || $('#text-height').val() == 0){
- $("#" + id_data + " img").css('width', '300px');
- $("#" + id_data + " img").css('height', '180px');
+ $("#" + id_data + " img").css('width', '500px');
+ $("#" + id_data + " img").css('height', '40px');
}
else{
$("#" + id_data + " img").css('width', $('#text-width').val()+'px');
diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php
index b06a0c6d5c..7348b07c10 100755
--- a/pandora_console/include/functions_visual_map.php
+++ b/pandora_console/include/functions_visual_map.php
@@ -1076,10 +1076,10 @@ function visual_map_print_item($mode = "read", $layoutData,
if ((get_parameter('action') == 'edit') || (get_parameter('operation') == 'edit_visualmap')) {
if($width == 0 || $height == 0){
if ($layoutData['id_metaconsole'] != 0) {
- $img = '
';
+ $img = '
';
}
else{
- $img = '
';
+ $img = '
';
}
}
else{