Basically, I put something like automodal_add('.comment_reply', array('width' => 200)); in template.php, and the popup works... BUT it only shows me the same page I am on, instead of popup link content (in this case the reply comments form).

Any help?

Thank you.

Comments

dsnopek’s picture

Issue summary: View changes
Status: Active » Fixed

I actually was able to reproduce this, but only by making a mistake. :-) I suspect the element at '.comment_reply' isn't a link, but some other HTML tag. This causes automodal to open a modal to the same page. I've committed a change in 4a177c5 that will filter out all non-links. What you probably actually want is '.comment_reply a' as the CSS selector.

Status: Fixed » Closed (fixed)

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