Skip to content
Snippets Groups Projects
Commit 3a862466 authored by Devin Carlson's avatar Devin Carlson
Browse files

Issue #3426791: Backport #2671870 - Drupal dialogs overflow in small...

Issue #3426791: Backport #2671870 - Drupal dialogs overflow in small resolutions when vertical toolbar is open
parent 928d5e73
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,9 @@
}
}
// Offset the dialog center to be at the center of Drupal.displace.offsets.
adjustedOptions = resetPosition(adjustedOptions);
if (!event.data.settings.modal) {
adjustedOptions = resetPosition(adjustedOptions);
}
event.data.$element
.dialog('option', adjustedOptions)
.trigger('dialogContentResize');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment