Commit Graph

128 Commits

Author SHA1 Message Date
Paul Bakaus
fd618d042f draggable, sortable: include originalPosition in ui hash, implements #3782 2009-08-23 17:40:44 +00:00
Paul Bakaus
d2e43a07c0 sortable: removed deprecated ui.absolutePosition from ui hash, fixes #3991 2009-08-22 13:58:36 +00:00
Paul Bakaus
957774c685 sortable: toArray/serialize should not include the placeholder, fixes #4138 2009-08-22 13:48:04 +00:00
Scott González
61e06a0e13 Sortable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:17:00 +00:00
Paul Bakaus
0bbf926015 sortable: fixed issues with nested containers (fixes #4703,#4611, thanks kae!) 2009-07-28 05:50:23 +00:00
Richard Worth
56b0da59d7 Fixed #4551 - Sortable connectWith fails if item is floated. Props dhlavety and jlillywhite. 2009-07-07 10:41:42 +00:00
Scott González
8634ba993c All mouse-based plugins: Extend $.ui.mouse.defaults. Changed $.ui.mouse.defaults.cancel to ":input,option" which is used by every plugin as its default. Fixes #4584 ($.ui.mouse.defaults never used). 2009-06-09 00:46:00 +00:00
Scott González
1195854aaa Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters. 2009-04-15 02:33:28 +00:00
Richard Worth
bd3dc48e02 changed ui.jquery.com to jqueryui.com 2009-02-27 11:41:40 +00:00
Scott González
47cdc542e8 Sortable: Removed accurateIntersection option (Fixes #4225). 2009-02-25 04:15:48 +00:00
Paul Bakaus
64b66a4d81 sortable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4041) 2009-02-13 13:28:20 +00:00
Paul Bakaus
e0f3b0ef32 draggable,sortable: if the offset parent is the body, top/left values should always be normalized to 0 (fixes #4141 - margin on body in safari caused bump) 2009-02-13 12:26:44 +00:00
Scott González
9f93e8db3a Sortable: Removed sortIndicator option. Fixed #4118 - option sortIndicator is undocumented. 2009-02-13 03:47:53 +00:00
Paul Bakaus
2e0f967680 sortable: if current item was removed by user, it was reappended by the clearing logic (fixes #4088) 2009-02-10 10:07:25 +00:00
Richard Worth
4b3b9d8fb0 sortable defaults 2009-02-03 02:23:07 +00:00
Richard Worth
87796aff53 Fixed #4038 (sortable: cssNamespace option should be removed) 2009-02-03 02:18:12 +00:00
Richard Worth
b534fcccb9 sortable: changed sortable option cursor default value to 'auto' instead of 'default' 2009-02-03 01:22:34 +00:00
Richard Worth
d5f41446dd sortable defaults 2009-02-03 01:20:55 +00:00
Scott González
b642b98619 Sortable: Added defaults for cursor, cursorAt, opacity. 2009-02-01 01:02:34 +00:00
Scott González
39f80ebc66 Sortable: Fixed #4017: Revert opacity after sort. 2009-02-01 00:55:34 +00:00
Scott González
34a5af8779 Sortable: Fixed #3979: Fixed using a string for connectWith option. 2009-01-31 16:54:06 +00:00
Richard Worth
39dac81b24 Fixed #4008 (Sortable events are improperly named) 2009-01-31 02:36:47 +00:00
Paul Bakaus
04c063e5b7 sortable: containment option now respects the padding (fixes #3958) 2009-01-29 15:25:02 +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
Richard Worth
1b891501f2 whitespace 2009-01-22 13:10:18 +00:00
Paul Bakaus
1805e7827f sortable: connectWith should accept string selectors (fixes #3892, backward compatibility still existant) 2009-01-20 16:34:21 +00:00
Paul Bakaus
19aef25f79 sortable: fixed missing placeholder default (fixes #3889) 2009-01-20 16:20:44 +00:00
Paul Bakaus
ec19293915 sortable: fixed missing handle default (fixes #3889) 2009-01-20 16:10:43 +00:00
Paul Bakaus
22d67dd458 sortable: fixed missing connectWith default (fixes #3888) 2009-01-20 16:05:09 +00:00
Paul Bakaus
41ff7ea35e sortable: renamed 'default' tolerance to 'intersect' (it's a advanced intersection, after all), fixes #3887 2009-01-20 15:39:55 +00:00
Paul Bakaus
5190908e61 sortable: all callbacks with the exception of the beforeStop callback now fire after everything has been normalized again (placeholder/helper removed, styles restored). (fixes #3864 and multiple user requests) 2009-01-19 12:00:45 +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
Paul Bakaus
68951ddc11 sortable: $.ui.plugin is not used anymore (fixes #3725)
droppable: ixed activate/deactivate (jq 1.3 related), removed ui.element + ui.options
2009-01-16 20:41:03 +00:00
Scott González
3887ee7e2a Sortable: Fixed _trigger method. 2009-01-16 02:25:03 +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
Paul Bakaus
842753690a core: fixed _trigger not modifing the original event with event.result
sortable: use event.result to listen for a return false
2009-01-09 16:52:27 +00:00
Paul Bakaus
de1d540d94 sortable: don't copy content from the original item into the placeholder anymore by default (fixes #3595), check if event still exists in _trigger, fixes issue when you call $(this).sortable('cancel') from within a callback 2009-01-09 15:16:41 +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
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
Paul Bakaus
76cea24b76 sortable: merged draggable fixes into sortables (r1325,1313) 2008-12-30 15:05:09 +00:00
Paul Bakaus
b81c873338 sortable: removed default tolerance "guess" for the simplier (and better working) default mode, and the plain "pointer" intersection 2008-12-17 19:35:13 +00:00
Eduardo Lundgren
6b2b98cb3d Sortable accurateIntersection using outerWidth/outerHeight 2008-12-17 19:24:06 +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
Paul Bakaus
315017ade9 sortable: fixed containment issue (with 'parent', height was miscalculated due to wrong append order) 2008-12-11 11:18:28 +00:00
Paul Bakaus
6c93b4e2f0 sortable: fixed regression that caused wrong offset calculation if the helper option has been set to "original" 2008-12-02 12:47:53 +00:00
Eduardo Lundgren
95c6c6dd62 Source formatting 2008-11-28 15:43:32 +00:00