Hi,

Can this be done? Ie. Let's say I want to open up www.drupal.org in a modal dialog, and have it re-size accordingly.
Since jquery_ui_dialog_child_js() is never called, the wrapper doesn't know the size of the content.

(Yes, drupal.org is a bad example, but you know what I mean)

Also, hook_jquery_ui_dialog_child_loading on the project page should be hook_jquery_ui_child_loading. That or the hook should be renamed.

Thanks!

Comments

EugenMayer’s picture

Well this is simply not the goal of this dialog. Its not about lightbox and showing whole pages in the dialog. Its about having a action dialog. You still can load pages inside, but you have to handle all the rest manually, including resize.

The hook is named correctly, as the module is called jquery_ui_dialog, not jquery_ui :)

mmilo’s picture

Ah, okay. That makes sense.

On the second point, the hook is not named correctly in code, that was my point. The hook is invoking jquery_ui_child_loading, and not jquery_ui_dialog_child_loading.

EugenMayer’s picture

Title: Auto re-size a dialog opening an external link? » Wrong hook invokaction jquery_ui_child_loading
Category: feature » bug
Priority: Normal » Minor

Oh mmilo, i see. Thanks for the feedback!

EugenMayer’s picture

Status: Active » Fixed

will be fixed in the 1.3 release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.