When I use simple dialog to fire a webform in a dialog everything works perfectly in Bartik.

$download_url = url($download_button[$langcode]);
	$node->content['body'][0]['#markup'] .= '<a class="btn simple-dialog" rel="width:600;height:610;resizable:false;" href="'.$download_url.'" class="btn" title="'.t('Gelieve uw gegevens in te vullen').'">'.t('Download').'</a>';

When I change theme to Omega (even when I do this in a 2nd browser window) and I click the link again an empty dialog window shows up.

Since I don't even have to reload I guess this has something to do with the JS file of this module in combination with Omega (also tried with Ohm, another Omega theme. Same issue here).

Anyone has any idea what the cause can be?

edit: I also checked my console, no js errors. My div just stays empty when using Omega:

<div style="width: auto; min-height: 0px; height: 104.2px;" id="simple-dialog-container" class="ui-dialog-content ui-widget-content"></div>

edit:
after some time of searching why the dialog stayed empty I decided to try another module. Everything works perfect when using https://drupal.org/project/colorbox_node

Comments

f0ns’s picture

Issue summary: View changes
f0ns’s picture

Issue summary: View changes
drclaw’s picture

Status: Active » Closed (works as designed)

Your link code snippet doesn't have a "name" attribute, indicating that you're falling back to the dialog settings page default target selector setting. If you had this set to an id or class that doesn't exist in the omega theme, then you would indeed get an empty dialog box.

Anyway, I'm glad you got it to work with Colorbox Node.

Thanks!
drclaw