Weird problem with draggable_element in a partial rhtml

Hi all,

I have an index.rhtml page which calls a partial called _tasks.rhtml. In
the latter i call <%= draggable_element(“icon#{}”, :revert =>
true)%>. The first display of my page works fine and I get

But then if I have an ajax call to a function which will update the
partial ‘tasks’, everything is fine appart from the draggable which
doesn’t appear at all. Just a blank line. And if I escape (<%=h…) the
draggable element I get exactly what I want.

Does anybody have a clue on what is happening ?

Thanks in advance


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs