Closed (fixed)
Project:
SpamSpan filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 10:46 UTC
Updated:
2 Aug 2009 at 13:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
lakka commentedNeed more info please before I can look at this (if it still a problem). How does the script break? What do you mean by "when you use ajax" etc ..
Comment #2
ptrl commentedI think the problem is that when you use AJAX functionality (like AJAX sorting with views) the js doesn't re-run (don't know the right terms :)).
Anyway, the Drupal.behaviors function will hopefully fix this problem.
This is my first time creating/submitting a patch but hopefully I did it right.
Comment #3
ptrl commentedThink i messed up spamspan.js.patch here is a new one.
Comment #4
lakka commentedIt looks good to me. Thanks very much. Have you tested it at all?
Comment #5
ptrl commentedhaven't tried to apply the patch :) but I'm using the same code on a live site and it seems to work fine!
Comment #6
quicksketchThe patch in #3 has the right idea but makes a lot of unrelated changes. The patch changes just what is necessary and has the same effect.
Comment #7
quicksketchAh, the patch.
Comment #8
lakka commentedFixed in CVS - thanks