mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Add option to change image when is service and fixed error when updated data. Tiquet: #2175
(cherry picked from commit 19abac33c1ccf43445531a5c8ebf30575abae299)
This commit is contained in:
parent
d3701d34d8
commit
992b89537f
@ -188,6 +188,7 @@ foreach ($layoutDatas as $layoutData) {
|
|||||||
case STATIC_GRAPH:
|
case STATIC_GRAPH:
|
||||||
case ICON:
|
case ICON:
|
||||||
case GROUP_ITEM:
|
case GROUP_ITEM:
|
||||||
|
case SERVICE:
|
||||||
$table->data[$i + 1][1] =
|
$table->data[$i + 1][1] =
|
||||||
html_print_select ($images_list,
|
html_print_select ($images_list,
|
||||||
'image_' . $idLayoutData, $layoutData['image'], '',
|
'image_' . $idLayoutData, $layoutData['image'], '',
|
||||||
|
@ -233,7 +233,7 @@ switch ($activeTab) {
|
|||||||
$values['label_color'] = get_parameter('label_color_' . $id, '#000000');
|
$values['label_color'] = get_parameter('label_color_' . $id, '#000000');
|
||||||
|
|
||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
enterprise_visual_map_update_action_from_list_elements($type, $values);
|
enterprise_visual_map_update_action_from_list_elements($type, $values, $id);
|
||||||
}
|
}
|
||||||
|
|
||||||
db_process_sql_update('tlayout_data', $values, array('id' => $id));
|
db_process_sql_update('tlayout_data', $values, array('id' => $id));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user