adjust size of modal

This commit is contained in:
Luiz Costa 2024-06-06 12:26:48 +01:00
parent 0ee473948c
commit c165d42dbc

View File

@ -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 // Add hide event to reload the page when the dialog is closed
dialog.onhide = function () { dialog.onhide = function () {
window.location.reload(); window.location.reload();