Commit Graph

85 Commits

Author SHA1 Message Date
Scott González
41ed54aaf6 Widget factory: Fixed event triggering (again).
Draggable: To modify the position during drag, you now set ui.position instead of returning new coords.
2009-01-15 19:40:11 +00:00
Scott González
d422915b8e Draggable: Fixed connectToSortable option. 2009-01-14 02:12:44 +00:00
Scott González
ca44391e5c Draggable: Reverted r1597 - no idea if there are cases that need to be handled that aren't in the test suite. 2009-01-13 02:51:13 +00:00
Scott González
99840f323e Draggable: Removed unnecessary setting of this.positionAbs in _trigger. 2009-01-13 02:13:58 +00:00
Paul Bakaus
a6471b1705 draggable: removed unneeded comment block
sortable: fixed sort callback, merged position fixes from draggables
2009-01-09 14:08:32 +00:00
Paul Bakaus
c8305ae076 sortable,draggable: fixed order and propagation of events (fixes #3658, #3730 and #3726) 2009-01-08 15:49:20 +00:00
Paul Bakaus
3835247155 draggable: revert 'invalid/valid' now works with dropping on sortables (fixes #3556), beautified demo of connectToSortable demonstrating the reverts on both draggable and sortable 2009-01-08 14:03:34 +00:00
Paul Bakaus
89338159e4 draggable: if cursorAt was used, revert was reverting to the wrong position (fixes #3699) 2009-01-08 13:39:58 +00:00
Paul Bakaus
779523c7b5 draggable: fixed convertPositionTo (fixes #3710) 2009-01-08 13:31:16 +00:00
Paul Bakaus
38a5b20fe7 draggable: re-implemented containment and grid support (fixes #3607) 2009-01-08 12:37:15 +00:00
Paul Bakaus
122786c4b2 draggable: second partial fix for remaining scroll issues (for the special case, subtract scrollLeft/scrollTop already in getParentOffset, so calculations become easier in _generatePosition) 2009-01-08 11:19:48 +00:00
Paul Bakaus
51ee179f3d draggable: partial fix for remaining scroll issues (containment, grid broken atm, comes with next commit) 2009-01-08 07:54:40 +00:00
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