Skip to content
Snippets Groups Projects
Commit 97a10c06 authored by Scott Reeves's avatar Scott Reeves
Browse files

Issue #2671870 by droplet, darketaine, Sumit kumar: Drupal dialogs overflow in...

Issue #2671870 by droplet, darketaine, Sumit kumar: Drupal dialogs overflow in small resolutions when vertical toolbar is open
parent 417d9006
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,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