Commit 97a10c06 authored by Cottser's avatar Cottser

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
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment