Closed (duplicate)
Project:
Modal Frame API
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2010 at 15:22 UTC
Updated:
19 Jan 2010 at 19:19 UTC
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 commented- #595800: Making it possible to show buttons
Comment #2
eugenmayer commenteddoes that mean you wont include that patch?
Comment #3
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 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.