Commit Graph

71 Commits

Author SHA1 Message Date
Paul Bakaus
112493b8b9 draggable: since revert no longer checks for numbers, introduced a revertDuration option 2008-07-25 08:53:42 +00:00
Paul Bakaus
83f858aa28 draggable: implemented more advanced features for the snap option - you can now pass in a object instead of a bolean into "snap", possible keys are the callbacks snap/release (which both receive ui.snapItem) and items (jQuery selector, defaults to :data(draggable)) 2008-07-17 16:13:10 +00:00
Paul Bakaus
db258edf2a draggable: fixed relative position bug (please NEVER check in elem.style just for performance optimizations) 2008-07-17 15:04:42 +00:00
Paul Bakaus
3b300faa61 draggable: removed adding the class ui-draggable in favor of the new data selector 2008-07-14 14:24:00 +00:00
Eduardo Lundgren
184f890e06 Minorl performance improvements at draggable init 2008-07-10 23:47:00 +00:00
Paul Bakaus
c4a99f521b prevent overriding/changing the actual $.ui.mouse object by extending it - this was evil (i.e. caused draggables to have the mouseCapture method of sortables, and therefore failing to work) 2008-07-07 07:39:12 +00:00
Paul Bakaus
7c5e5d9c5e draggable: revert option now accepts "invalid", "valid" and true as possible options: true always reverts, "invalid" only reverts when not dropped on a possible target, and "valid" does the contrary (implements #2914) 2008-07-03 14:59:10 +00:00
Paul Bakaus
3603a87d7d draggable: ui.absolutePosition, wasn't updated through plugins, fixes #3002 2008-06-30 13:15:00 +00:00
Paul Bakaus
b07cac10cd draggable: removed a silly console.log 2008-06-24 15:57:25 +00:00
Paul Bakaus
4f33a5b3b2 sortable: connected lists items are not refreshed until you actually move into the connected list - this improves performance for connected lists 2008-06-24 15:28:12 +00:00
Paul Bakaus
d204a02320 draggable: fixed issue when placeholder didn't exist (fixes #3018) 2008-06-24 13:32:17 +00:00
Scott González
b057a04d5a Draggable: Changed mouse's cancel option from ":input,button" to ":input" (button is redundant). 2008-06-18 14:29:53 +00:00
Richard Worth
de4266422e Fixed #3016 - Distance option default 2008-06-18 11:10:39 +00:00
Scott González
9aeec7f04a Dropped blank line at end of header comments. 2008-06-11 01:36:35 +00:00
Eduardo Lundgren
711c106314 Fixed draggable bug that affects the droppable critically - $.ui.ddmanager.current could not be null 2008-06-09 06:53:37 +00:00
Richard Worth
ee4bd1a9e8 Removed old rev ids from jQuery svn 2008-06-09 06:26:23 +00:00
Paul Bakaus
4b186675af ui-core: added mouseCapture, replacing the condition feature before. Allows text to be selected in sortables on non-handles. 2008-06-09 01:54:28 +00:00
Paul Bakaus
7539a095f6 draggable,sortable: fixed containment "document", added containment: "window" (fixes #2936,#2171) 2008-06-07 23:38:03 +00:00
Paul Bakaus
68d37568e0 draggable, sortable: fixed issue when handle wasn't working with elements nested in the handle (fixes #2937) 2008-06-07 23:25:47 +00:00
Paul Bakaus
47e04b888d draggable: fixed cursorAt issue (#2965) 2008-06-07 22:56:56 +00:00
Richard Worth
a635d0a7c9 renamed source -> ui 2008-06-07 17:37:43 +00:00