Add option to change image when is service and fixed error when updated data. Tiquet: #2175
(cherry picked from commit 19abac33c1
)
This commit is contained in:
parent
d3701d34d8
commit
992b89537f
|
@ -188,6 +188,7 @@ foreach ($layoutDatas as $layoutData) {
|
|||
case STATIC_GRAPH:
|
||||
case ICON:
|
||||
case GROUP_ITEM:
|
||||
case SERVICE:
|
||||
$table->data[$i + 1][1] =
|
||||
html_print_select ($images_list,
|
||||
'image_' . $idLayoutData, $layoutData['image'], '',
|
||||
|
|
|
@ -233,7 +233,7 @@ switch ($activeTab) {
|
|||
$values['label_color'] = get_parameter('label_color_' . $id, '#000000');
|
||||
|
||||
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));
|
||||
|
|
Loading…
Reference in New Issue