Displaying 1 result from an estimated 1 matches for "icon32".
Did you mean:
icon2
2006 Apr 07
0
weird problem with draggable_element in a partial rhtml
...an index.rhtml page which calls a partial called _tasks.rhtml. In
the latter i call <%= draggable_element("icon#{@tasks.id}", :revert =>
true)%>. The first display of my page works fine and I get
<script type="text/javascript">
//<![CDATA[
new Draggable("icon32", {revert:true})
//]]>
</script>
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...