Add option to change image when is service and fixed error when updated data. Tiquet: #2175
This commit is contained in:
parent
f16ba3e1da
commit
19abac33c1
|
@ -214,6 +214,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'], '',
|
||||
|
|
|
@ -292,7 +292,7 @@ switch ($activeTab) {
|
|||
$values['id_layout_linked'] = get_parameter('map_linked_' . $id, 0);
|
||||
|
||||
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