Merge branch '1245-Anadir-resumen-de-grupos-como-elemento-de-consola-visual-2' into 'develop'
Let create a group status visual map element without image selected - #1245 See merge request !816
This commit is contained in:
commit
2620de69e6
|
@ -691,7 +691,7 @@ function create_button_palette_callback() {
|
||||||
alert('Undefined height');
|
alert('Undefined height');
|
||||||
validate = false;
|
validate = false;
|
||||||
}
|
}
|
||||||
if ((values['label'] == '') && (values['image'] == '')) {
|
if ((values['label'] == '') && (values['image'] == '') && (values['show_statistics']) == false) {
|
||||||
alert($("#message_alert_no_label_no_image").html());
|
alert($("#message_alert_no_label_no_image").html());
|
||||||
validate = false;
|
validate = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1213,7 +1213,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
||||||
break;
|
break;
|
||||||
case STATIC_GRAPH:
|
case STATIC_GRAPH:
|
||||||
case GROUP_ITEM:
|
case GROUP_ITEM:
|
||||||
if ($layoutData['image'] != null) {
|
if ($layoutData['image'] != null || $layoutData['show_statistics'] == 1) {
|
||||||
|
|
||||||
|
|
||||||
$img_style_title = strip_tags($label);
|
$img_style_title = strip_tags($label);
|
||||||
|
|
Loading…
Reference in New Issue