I reviewed #993032: custom size window, and based on this tried putting the following code at the top of template.php:

automodal_add('.automodal-noclose', array('customDialogOptions' => array('closeOnEscape' => false)));

This didn't work, so I tried this:

automodal_add('.automodal-noclose', array('closeOnEscape' => FALSE));

which also didn't work.

Is it possible to do what I am trying to do?

Thanks!

Comments

imclean’s picture

Looks like a Modal Frame API issue: #1438280: Dialog's option "closeOnEscape" doesn't work

bwinett’s picture

Status: Active » Closed (duplicate)

Thanks for providing that link! Looks like this is a duplicate, so closing.