Commit Graph

123 Commits

Author SHA1 Message Date
Paul Bakaus
ba75714621 draggable,droppable,sortable: properly implemented cssNamespace option across plugins (selectable & resizable to go, so those options should stay undocumented until all plugins are converted. Fixes #3707) 2009-01-07 17:43:15 +00:00
Paul Bakaus
e62531a627 cancel option should take in account <option> (fixes #3786) 2009-01-07 15:37:02 +00:00
Richard Worth
a11c201008 Happy New Year 2009-01-03 21:55:13 +00:00
Scott González
81f9d28d60 Draggable: Proper event prefix. 2009-01-03 15:15:22 +00:00
Scott González
f65478c620 Draggable: Partial fix for #3726: Using this._trigger() instead of this.element.triggerHandler(). 2009-01-03 05:42:21 +00:00
Eduardo Lundgren
dbcf65fce9 Remove trailing spaces 2008-12-31 08:22:11 +00:00
Paul Bakaus
3b09c17bc7 draggable: made connectToSortable work fine with helper: 'original' (by removing top/left properties at sort end) 2008-12-30 16:34:23 +00:00
Paul Bakaus
8bd784a6f3 draggable: containment doesn't respect margins anymore (logical, and fixes 3538) 2008-12-30 15:01:19 +00:00
Paul Bakaus
ee26c404d1 draggable: changed default for scroll option to true 2008-12-30 14:50:53 +00:00
Paul Bakaus
c4b7f1f9f0 demos: added opacity, revert and scroll demos
draggable: fixed positioning issue with relative positioned elements relative to the body during scroll
2008-12-30 10:05:51 +00:00
Paul Bakaus
a7dae90eff sortable: fixed connectToSortable option, wasn't working with Arrays as described in the documentation 2008-12-11 15:02:21 +00:00
Paul Bakaus
68e700b30b sortable,draggable: fixed issues with _convertPositionTo, missed from latest re-factor, miscalculated the absolute position including scroll 2008-12-11 13:39:15 +00:00
Eduardo Lundgren
95c6c6dd62 Source formatting 2008-11-28 15:43:32 +00:00
Paul Bakaus
a42894b1d7 core: improved logic of $.fn.scrollParent, taking positioning in account
draggable: fixed and updated tests, rewrote positioning core, now passes the test suite completely in FF, IE6, IE7
2008-11-23 17:42:24 +00:00
Paul Bakaus
0036aaf4b6 draggable: added missing default for zIndex and cursorAt, added missing scroll tests (unfortunately showing big regressions that need to be fixed prior to 1.6) 2008-11-21 19:40:45 +00:00
Paul Bakaus
4b2a73e2b2 draggable: the snap events 'release' and 'snap' now both have valid mousemove events attached. 2008-11-21 14:01:44 +00:00
Richard Worth
fb94a4e34e draggable, droppable, resizable, selectable, sortable: formatting changes - moved some things around for consistency.
_init and destroy at the top, then _mouse methods. plugins, ui last. Sorted defaults and plugins alphabetically.
2008-11-21 04:01:33 +00:00
Richard Worth
2192c024e2 New file: AUTHORS.txt instead of having a single contributor's name in each file header. See http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/ca0b1cc9580141b 2008-11-21 02:14:03 +00:00
Richard Worth
7ea535fa1d fixed #3578 - ALL CODE: e, ui should be changed to event, ui 2008-11-14 03:00:16 +00:00
Eduardo Lundgren
2ab2f3c7e1 Change name of intersect methods to isOverHeight/isOverWidth/isOver. 2008-11-10 06:39:52 +00:00
Eduardo Lundgren
ad0cdb776e Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.ui.intersects. 2008-11-10 05:56:06 +00:00
Eduardo Lundgren
836e71f880 Draggable: Using the new core intersect method on connectToSortable. 2008-11-10 05:18:20 +00:00
Eduardo Lundgren
d972cb3ea8 Draggable - calling the new _ui() method from sortables 2008-11-10 03:51:44 +00:00
Paul Bakaus
bba3d31e82 draggable: fixed nasty IE related scrolling bug - funny IE includes scroll if you call offset() on <html> 2008-11-06 14:52:25 +00:00
Paul Bakaus
77d2c66690 draggable: fixed two missing defaults 2008-11-03 11:24:48 +00:00
Paul Bakaus
79d25190cd draggable: fixed createHelper method (thanks Nate!) 2008-10-14 10:15:48 +00:00
Richard Worth
8b7f927e4b added some missing draggables defaults 2008-10-08 10:21:28 +00:00
Jörn Zaefferer
923d1ec3bb adding version property to all ui components 2008-10-05 16:29:21 +00:00
Eduardo Lundgren
9246c5117f Draggable cancelHelperRemoval when is not over 2008-09-26 02:29:46 +00:00
Richard Worth
a522291a7b whitespace: Removed trailing whitespace from non-blank lines 2008-09-20 03:23:42 +00:00
Richard Worth
0bae0870d9 whitespace 2008-09-20 02:43:18 +00:00
Scott González
7c2e7965e9 Reverted r695. 2008-09-19 14:20:14 +00:00
Eduardo Lundgren
8d04c3594c Remove Trailing Spaces 2008-09-19 14:08:41 +00:00
Paul Bakaus
9c0942d14f droppable: $.ui.ddmanager.drop now returns false in case of non-drop, or the actual droppable (instead of true) in the case of a drop.
draggable: implemented patch that allows revert to be a callback, receives one argument which is the droppable (implements #3175)
2008-09-18 09:51:50 +00:00
Paul Bakaus
9d8e83845c draggable, resizable, sortable: proper usage of _mouseCapture, fixes interaction issues when many plugins are used on the same element (Fixes #3164) 2008-09-16 13:02:21 +00:00
Paul Bakaus
fd40ff0fe0 draggable: destroy method now properly removes the class ui-draggable (Fixes 3424) 2008-09-16 10:39:54 +00:00
Paul Bakaus
b08ae847bf core: hasScroll now checks for overflow hidden, since then the users wants scroll to be hidden
draggable: containment respects overflow hidden (fixes #3328)
2008-09-16 10:38:12 +00:00
Paul Bakaus
7ba2beb903 - kickass draggable refactoring - fixes many bugs, many edge case issues
- added many new tests to draggable, especially related to scrolling and helper clone
2008-09-15 20:26:42 +00:00
Richard Worth
f6008ca694 Fixed #3284 - Put version numbers inside of individual files. 2008-09-04 22:03:30 +00:00
Jörn Zaefferer
dc92efc6e8 draggable: removing logging 2008-09-03 14:30:40 +00:00
Jörn Zaefferer
6174fef86f draggable: sortable.refreshItems got renamed to _refreshItems 2008-09-03 14:27:51 +00:00
Paul Bakaus
ef599c7225 draggable: wrong class when trying to remove iframeFix divs (fixes #3161) 2008-09-01 14:49:28 +00:00
Chi Cheng
d5bbbd2a07 internal methods: mouse* 2008-08-17 08:15:49 +00:00
Chi Cheng
dd6a17b434 Internal methods: fixes #3195, #3196, #3200, #3201, #3209 2008-08-17 02:15:55 +00:00
Chi Cheng
eec36c91aa draggable: fix snapTolerance option instead of default 2008-08-10 07:58:50 +00:00
Paul Bakaus
b65b5d0873 draggable: fixed regression with convertPositionTo method and scroll offsets 2008-07-30 01:42:42 +00:00
Paul Bakaus
2cd638e4a3 draggable: fixed ugly regression when no overflowed container existed 2008-07-29 02:13:02 +00:00
Paul Bakaus
36d96a9e82 draggable: fixed IE scrolling but with overflowing containers and appendTo being used 2008-07-29 01:32:46 +00:00
Paul Bakaus
1bf23b38fd draggable: fixed issue when scroll was set to true, and therefore droppables inside changed their position as well 2008-07-29 00:54:29 +00:00
Paul Bakaus
67b53a582e draggable: fixed overflow calculation in the positioning methods 2008-07-29 00:10:51 +00:00
Paul Bakaus
f2265bf9e6 draggable,droppable: implemented cssNamespace option, if set to false/null, it won't add a class to the element 2008-07-28 21:06:04 +00:00
Paul Bakaus
841751a0d5 1.8: initial version of tree component, dependant upon sortables and droppables
1.6: droppables can now operate in a seperate scope, droppables and sortables in the current dragged item are filtered out at start, preventing node hierarchy issues
2008-07-28 18:34:01 +00:00
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