From 0ee473948c4eb74fc08665e087294fde4eac9f7b Mon Sep 17 00:00:00 2001 From: Luiz Costa Date: Thu, 6 Jun 2024 12:23:51 +0100 Subject: [PATCH] fix syntax --- fleet_management/fleet_management/doctype/trip/trip_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fleet_management/fleet_management/doctype/trip/trip_list.js b/fleet_management/fleet_management/doctype/trip/trip_list.js index ed6af8a..1de0ef4 100644 --- a/fleet_management/fleet_management/doctype/trip/trip_list.js +++ b/fleet_management/fleet_management/doctype/trip/trip_list.js @@ -8,7 +8,7 @@ function loadLeafletAndInitMap(frm, callback) { function create_dialog_and_init_map(frm) { const dialog = new frappe.ui.Dialog({ title: 'Show Route', - fields: [{ fieldtype: 'HTML', fieldname: 'map_html', label: 'Map', options: '
' }], + fields: [{ fieldtype: 'HTML', fieldname: 'map_html', label: 'Map', options: '
' }], primary_action_label: 'Close', primary_action() { if (currentMap) {