Other issue.. fieldset does not open
Rob Loach already found some solution but needs work (I guess)
Solution: http://zroger.com/node/31#comment-234
Thanks everyone..
again GREAT MODULE
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | lazy.patch | 10.81 KB | robloach |
Other issue.. fieldset does not open
Rob Loach already found some solution but needs work (I guess)
Solution: http://zroger.com/node/31#comment-234
Thanks everyone..
again GREAT MODULE
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | lazy.patch | 10.81 KB | robloach |
Comments
Comment #1
maykbrito commentedI found a solution (for while)..
open dialog.module and add this line (about line 22):
drupal_add_js('misc/collapse.js');
worked for me.. but of course.. better way is better!! =]
what you think? it's a good or bad choice ?
Comment #2
robloachThis patch adds the xLazyLoader. Not sure where we should use it so far though, but it does provide the command, so you could tell the client to load collapse.js. You can see it in action on the Drupal 7 branch:
http://head.robloach.net/dialog/example
When you click on one of the contextual links (like configure block), it loads up the additional JavaScript so that the vertical tabs work.
Comment #3
maykbrito commentedWhat do you do to your dialog box auto-resize? Over here I put those blog_node_form and it's not work (auto-resizing) and not scrolling either.
Comment #4
moonray commentedIn order for forms to work in a Dialog we need it to be able to lazy-load both css and js files.
Would it make sense to provide a function to automatically load css and js files required by forms (through a function), if you specify the Dialog is opening a form?
Comment #5
robloachOh snap, check out what tha_sun is proposing....... #561858: [Tests added] Fix drupal_add_js() and drupal_add_css() to work for AJAX requests too by adding lazy-load to AJAX framework.
Comment #6
ksenzeeI'm wondering if the lazyloader should be removed from the module now that the ajax system handles it. It seems to be double-loading css and js that's already on the page. :(
Comment #7
robloachDo it! ;-)
Comment #8
devin carlson commentedDialog 6.x is no longer supported.