Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As you know support custom jquery ui dialog options, there is a bug if buttons are added to the modalframe.
The autoresize method is nor properly calculating the size, as it does skip the button pane.
I have attached a patch which does correct that ( patched against 6.x-1.6) . It does not affect "none buttons" dialogs.
Thanks
Comment | File | Size | Author |
---|---|---|---|
parent.js_buttonpane.patch | 1.12 KB | EugenMayer |
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commented- #595800: Making it possible to show buttons
Comment #2
EugenMayer CreditAttribution: EugenMayer commenteddoes that mean you wont include that patch?
Comment #3
EugenMayer CreditAttribution: EugenMayer commentedi mean that other issue was about adding custom options what you denied and later implemented (like the hiding of the loading icon..but who cares).
That one actually fixes a bug that you can know pass buttons, but you cant show them due the resize bug.
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedYou can redefine the Drupal.modalFrame.resize() method in a separete script loaded by another module if you want this feature. Cheers
[EDIT] I do not plan to add support for jQuery UI Dialog buttons for the reasons described in the other issue.