Commit Graph

109 Commits

Author SHA1 Message Date
Paul Bakaus
7989bf1bee draggable: fixed numerous issues with over/out logic on connected sortable lists (fixes #3988) 2009-02-10 15:05:01 +00:00
Scott González
fc9ebfb3f4 Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable activate/deactivate callback when receiving a draggable. 2009-02-05 04:21:21 +00:00
Scott González
2f2342caeb Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable receive callback when receiving a draggable. 2009-02-05 04:12:23 +00:00
Scott González
0c8eed67f5 Draggable: Removed ridiculousness (some of it anyway). 2009-02-05 03:44:08 +00:00
Richard Worth
8bc22ea6f3 draggable: missed internal use of ui.absolutePosition 2009-02-03 03:02:30 +00:00
Richard Worth
c5df36e277 Fixed #4036 (draggable: cssNamespace option should be removed, addClasses option added) 2009-02-02 06:45:50 +00:00
Scott González
ce0daae232 Draggable: Fixed #3980: Don't allow connecting to disabled sortables. 2009-02-01 04:37:19 +00:00
Richard Worth
52eb7d14aa draggable: changed option cursor default to 'auto' instead of 'default' 2009-02-01 02:00:38 +00:00
Richard Worth
c36da07ca6 draggable: fixed 'o is not defined' exception 2009-01-30 05:17:48 +00:00
Paul Bakaus
3b92895a7e draggable: connectToSortable couldn't accept strings (fixes #3984) 2009-01-29 18:36:55 +00:00
Paul Bakaus
b3ab79b859 draggable: containment option now respects the padding (fixes #3957) 2009-01-29 15:22:43 +00:00
Paul Bakaus
669bdb333a draggable,droppable,sortable: deprecated ui.absolutePosition, changed to ui.offset (fixes #3978,#3977,#3976) 2009-01-29 12:35:38 +00:00
Paul Bakaus
84a0971aab draggable: fixed snap 2009-01-27 19:17:28 +00:00
Eduardo Lundgren
16a6bf3dd8 Remove trailing spaces 2009-01-24 01:36:22 +00:00
Paul Bakaus
f3eb832ed5 draggable: draggable should not scroll when constrained in one axis (fixes #3868) 2009-01-23 13:10:17 +00:00
Paul Bakaus
df6ac9c193 draggable: removed ui.options (fixes #3917) 2009-01-23 13:04:08 +00:00
Richard Worth
1b891501f2 whitespace 2009-01-22 13:10:18 +00:00
Paul Bakaus
aba53d09fd draggable: defaults should be set to 'false' if disabled, not null (fixes #3878) 2009-01-20 10:06:59 +00:00
Paul Bakaus
bcda57c355 draggable: fixed using Array for containment option (fixes #3877) 2009-01-20 10:01:49 +00:00
Paul Bakaus
1a631ae284 draggable: fixed margin inclusion in snap option (fixes #3853) 2009-01-19 15:22:56 +00:00
Paul Bakaus
513f19e60b draggable,sortable: if connectToSortable is used, ui.sender has to be the original draggable (fixes #3856) 2009-01-19 11:34:22 +00:00
Eduardo Lundgren
8139c81d1b Revert changes for #3838 for the release 1.6rc5 2009-01-16 02:09:45 +00:00
Eduardo Lundgren
78c4d87d7b Fix for #3838 - Components should use this.widgetName on internally 2009-01-16 00:33:46 +00:00
Scott González
358be8bd46 Draggable: Fixed # 3808: Setting default opacity to null (preserve current opacity). 2009-01-15 23:19:27 +00:00
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