Hi guys,
I have the following code:
The goal is when a user clicks on the “Edit” button, a new html portion
appears
with a html form (in order to modify the name of the task). The previous
code
works. so far so good.
But I added a new javascript feature:
<%= draggable_element “active_task_#{active_task.id}”, :revert => true
%>
Now, the problem is that I don’t manage to distinct the click on the
“edit”
button and the one for “drag” action.
How to solve this problem ? does a solution exist ?
Thanks
Best regards.
Didier