Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2010 at 18:19 UTC
Updated:
3 Sep 2010 at 22:40 UTC
Shouldn't line 227 be
$('#modal-content input[type="submit"]:not(.ctools-use-modal-processed), #modal-content button:not(.ctools-use-modal-processed)', context)
it now is
$('#modal-content input[type="submit"]:not(.ctools-use-modal-processed), button:not(.ctools-use-modal-processed)', context)
Because of how it now is. When i have a button and a link on the same page, and i give the link the class ctools-use-modal. The buttons on that page get ctools-use-modal-processed.
Is this an bug or am i missing or doming something wrong?
Comments
Comment #1
merlinofchaos commentedEr. Yes, #modal-content should indeed be prefixing the 'button'. It's probably a fairly obscure bug because 'button' is fairly rarely used.
Comment #2
Michsk commentedthat's true, i also basically don't use buttons, but the homebox module does and that's how i spotted this. Other question, do you merlinofchaos take funding for updating / upgrading modules? Or do you know someone who could do so? I am using the modal option of ctools, but i really must say that it has issues. IE8 doesn't have a transparant background. IE7 breaks theming when a form returns with errors. All IE have problems when you open a modal, modal content is rendered and you close it then directly open a new modal. The new modal gets rendered at the bottom right corner of the window and not in the center. And then offcourse there's the implementation of animations and the other options (fluid dimensions).
Comment #3
Michsk commentedand for the above, the dialog api is no option that module is very buggy and seems unmaintained.
Comment #4
merlinofchaos commentedFile individual issues about the stuff that isolate the issues and I can look at them.
Comment #5
Michsk commentedok, i will do.
Comment #6
merlinofchaos commentedOk, fixed the button part of this.