Closed (fixed)
Project:
External Links
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2009 at 18:33 UTC
Updated:
30 May 2009 at 21:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThat's strange that the view page is causing the extlink icons to be doubled up, as Extlink should only find links within the new content loaded on the page. However, it'd be good to prevent this doubling-up even if it isn't extlink's fault. This patch should prevent these icons from ever being doubled up. If you can test it out I'd appreciate it.
Comment #2
dboulet commentedThanks quicksketch, I'll test the patch and get back to you tomorrow. I think that in my case the doubling is happening because I have multiple views embedded on the same page--I'm guessing that the JavaScript is being re-run on all of them.
Comment #3
dboulet commentedPatch works great, tested with Firefox, Opera, Chrome, Safari, IE7, IE6 on WinXP and Firefox, Safari on Mac OSX.
One question: should we be worried about people who add an "ext" class to their links in their markup? These links wouldn't get an icon.
Comment #4
quicksketchI committed this patch, thanks for testing!
We probably shouldn't affect these links, especially since modules like External Links Filter (http://drupal.org/project/elf) also use the "ext" link class and adds its own styling. Of course if you've installed that module and this one, you'd probably have problems anyway.