Hello,
I have made this patch because I needed it to work with a module I am working on. It wraps a function around the jscalendar jQuery load, so that ajax tools can then call the function to run when an area is re-loaded. Without the function wrapper, if you include jscalendar.js again as part of the ajax load, then it will run the replace on elements where there is already a calendar. With the function, you can specify which ID you want to run the replace in. It then runs the function on the whole page the first time it's loaded, so if you're not using it as a function you don't notice a difference.
It would be helpful to have this as part of jstools by default so my module doesn't have to hack up yours. ;) Is it possible to get this committed by any chance?
Thanks!
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| jscalendar.js_.patch | 3.12 KB | chrisshattuck |
Comments
Comment #1
nedjoVersion no longer maintained.