diff --git a/fleet_management/fleet_management/doctype/trip/trip_list.js b/fleet_management/fleet_management/doctype/trip/trip_list.js index 1de0ef4..5c1fda2 100644 --- a/fleet_management/fleet_management/doctype/trip/trip_list.js +++ b/fleet_management/fleet_management/doctype/trip/trip_list.js @@ -19,6 +19,10 @@ function create_dialog_and_init_map(frm) { } }); + // Adjust the size of the dialog + dialog.$wrapper.find('.modal-dialog').css("width", "850px"); + dialog.$wrapper.find('.modal-dialog').css("height", "600px"); + // Add hide event to reload the page when the dialog is closed dialog.onhide = function () { window.location.reload();