mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the error message does not have a close button on utility dialogs. Fixes #5670
This commit is contained in:
committed by
Akshay Joshi
parent
9ad7476a34
commit
3672013ddc
@@ -37,8 +37,8 @@ define('misc.file_manager', [
|
||||
},
|
||||
// Call dialogs subject to dialog_type param
|
||||
show_dialog: function(params) {
|
||||
let dialogWidth = pgAdmin.Browser.stdW.calc();
|
||||
let dialogHeight = pgAdmin.Browser.stdH.calc();
|
||||
let dialogWidth = pgAdmin.Browser.stdW.calc(pgAdmin.Browser.stdW.md);
|
||||
let dialogHeight = pgAdmin.Browser.stdH.calc(pgAdmin.Browser.stdH.lg);
|
||||
if (params.dialog_type == 'create_file') {
|
||||
Alertify.createModeDlg(params).resizeTo(dialogWidth, dialogHeight);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user