thekingsimo / jquery-week-calendar

Automatically exported from code.google.com/p/jquery-week-calendar
0 stars 0 forks source link

Event dragging: problem when reverting elements #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 $calEvent.draggable({
                revert: 'invalid',

What is the expected output? What do you see instead?
when you drag an element over a column which has droppable disabled and 
have the element revert when dragged over that column, it messes up the 
location of the event, the column to the right in my image has droppable 
disabled, and when i drag an event over it, from the center column, it 
reverts back like it should the first time, but if i then drag it again to 
the rightmost column, the result can be viewed in the image. 

Anyone have any clue how to fix this?  

What version of the product are you using? On what operating system?
the newest of course, on windows 7 :)

Original issue reported on code.google.com by ted.mellin on 3 Jul 2009 at 12:14

Attachments:

GoogleCodeExporter commented 8 years ago
oups, wrong image uploaded here is the right one:
http://img269.imageshack.us/img269/5946/week.png

Original comment by ted.mellin on 3 Jul 2009 at 12:15

GoogleCodeExporter commented 8 years ago

here is the video:
http://www.youtube.com/watch?v=c8SlbWRdi0k

once again to make myself more understandable i made a video of the bug, i used 
a 
fresh download of jquery without modifying, and basically just set revert to 
true for 
the drag elements and temporarely deleted the droppable for every weekday. You 
can 
try it yourself by making the same changes to jquery.weekcalendar.js 

robmonie, if this cant be fixed, do you have an alternative method to move the 
element back to its original position? :)

Original comment by ted.mellin on 3 Jul 2009 at 6:48

GoogleCodeExporter commented 8 years ago
I've made this an enhancement as it really should be built into the calendar 
itself
rather than done via the jquery-ui api directly.

Original comment by robmo...@gmail.com on 10 Aug 2009 at 12:47