This was posted originally in the Views issue queue, but I was asked to move it here.
I am using the Views module to display the body of a node. The body is nothing but a single link, powered by simple html code and the external link module.
If I use ajax for the view, the external link icon and functionality disappear when the view is generated.
I thought that this might be normal behavior, but I wanted to run it by some experts, if you have a moment. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | extlink_behavior.patch | 1.32 KB | quicksketch |
Comments
Comment #1
quicksketchThanks, your correct that there is something "extra" that need to be done to account for AJAX page loads. Basically (in Drupal 5) all JS events were triggered to fire only on page load. This meant that any new HTML inserted into the page (such as via the Views AJAX loader) would not get the JS attached to it.
Fortunately, Drupal 6 solved this problem with "behaviors", but extlink.module has not yet been using them. I've applied the following patch to extlink.js, which will be included in the next release which should make extlink work just fine with AJAX page loads (in Drupal 6).
Comment #2
bwv commentedThank you for taking the time to address this! regards, david
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.