I''d guess you haven''t added the element you''re trying
to make
Sortable to the DOM yet. You need to do that before making the
element Sortable.
If _findRootElement is being passed a null, then it''s possible that
for some reason $() isn''t returning properly--it''s the only
action
taken in options() before calling _findRootElements. And because $()
relies on document.getElementById(), the ID that is passed isn''t
being found.
TAG
On Feb 27, 2007, at 10:35 PM, snake wrote:
>
> can someone tell me why is this happening---
>
>
> element has no properties
> _findRootElement(null)dragdrop.js (line 577)
> options("div2[object HTMLDivElement]")dragdrop.js (line 584)
> destroy("div2[object HTMLDivElement]")dragdrop.js (line 590)
> destroyLineItemSortablesDiv2()index.asp# (line 988)
> div2AddAction("project_5578", "")index.asp# (line 294)
> createNewSubSection(Document )index.asp# (line 955)
> ajaxCallStatusCheck(XMLHttpRequest)index.asp# (line 594)
> onreadystatechange()ajaxConn.js (line 31)
> [Break on this error] while (element.tagName.toUpperCase() !=
"BODY")
> {
>
>
> this is a stack trace from foirefox firebug...happens when i am adding
> a new sortable to a div
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---