I''m trying to use another javascript library from ChartDirector that
lets me zoom in/out in graphs. Their library also includes AJAX
routines to submit image map data back to the server for updated
graphs.
After I include the prototype libraries and try to zoom in/out, I get
a "this._each is not a function" in the Enumberable class.
I''ve tried
prototype version 1.5 and 1.5.1 and get the same error.
I believe I''ve narrowed down the issue to when the
ChartDirector''s
AJAX handler tries to send an AJAX call to the web server.
Does anyone have an idea how I can make these two libraries work
together? My first thought is around Element.addMethods. Another
thing I''ve thought about is can you force Prototype to ignore
elements, so that I could feasibly ignore the elements that
ChartDirector is manipulating?
Also, if it helps, here is some info from Firebug:
this._each is not a function
each(undefined)prototype.js (line 428)
applyHandlers("preupdate")cdjcv.js (line 175)
partialUpdate()cdjcv.js (line 177)
applyHandlers("viewportchanged")cdjcv.js (line 175)
l71(0, -0.002729166666666666, 0.02, -0.1384615384615384, 2)cdjcv.js
(line 170)
lg1(mouseup clientX=0, clientY=0, 0.5)cdjcv.js (line 163)
lv(mouseup clientX=0, clientY=0)cdjcv.js (line 161)
onImgMouseUp(mouseup clientX=0, clientY=0)cdjcv.js (line 125)
lr1(mouseup clientX=0, clientY=0, "MouseUp")cdjcv.js (line 50)
onmouseup(mouseup clientX=0, clientY=0)cdjcv.js (line 52)
[Break on this error] this._each(function(value) {
Thanks for any help,
Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---