| Sign In/My Account | View Cart |
| Article: |
Ajax on Rails | |
| Subject: | Problems with draggable_element | |
| Date: | 2006-04-21 04:28:40 | |
| From: | pjazzlg | |
|
I am playing around with the Ajax function draggable_element in Ruby and having an interesting problem. I have the revert option set to true (:revert=>true), The element I want to drag is dragged successfully, but I cannot get it to stop dragging unless I double-click. Once it stops dragging, it does not revert to its original position, but remains where it was located at the time of the double-click.
|
||
Showing messages 1 through 3 of 3.
Problems with draggable_element
I used the sample code from the cart shop demo (http://demo.script.aculo.us/shop) and found the same problem than pjazzlg. What is amasing is that I did an new test application using "draggable_element" over a component which worked yesterday. But now the element is sticked to my mouse and I need to double-click to stop the dragging!! Did I miss something or is there a bug??