Commit Graph

76 Commits

Author SHA1 Message Date
Eduardo Lundgren
d1eaa41e7f Sortable minor intersectWidth maths accuracy 2008-07-09 19:34:11 +00:00
Paul Bakaus
4e06fa6304 - removed 1.6 branch
- changed version in tags/1.5.2 to 1.5.2
- merged trunk with 1.6
2008-07-09 11:09:40 +00:00
Paul Bakaus
cf48fc7ee4 sortable: added forcePointerForContainers option (to have another intersection mode for items, but allow only one container to be activated at the same time), added custom object in options, that holds custom (defined) functions that are called instead of original pieces. Only for advanced developers, currently only supported function: refreshContainers. 2008-07-09 09:03:24 +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
1b8cc84978 sortable: important restructuring in the sort function - callback and droppables/intersection now receive proper position information (also fixes #3022) 2008-06-30 14:08:06 +00:00
Eduardo Lundgren
75b29b66df Sortables performance increased massively - using offsetWidth/offsetHeight to refreshPostions instead of outerWidth/outerHeight 2008-06-30 13:43:09 +00:00
Eduardo Lundgren
e73d019dff Sortable - fixed #3048 2008-06-29 14:34:14 +00:00
Paul Bakaus
e8b545382e sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 12:43:45 +00:00
Richard Worth
e42b0f6b8b resizable, selectable, sortable: changed cancel default to ':input' instead of (redundant) ':input,button' 2008-06-26 10:23:38 +00:00
Paul Bakaus
505d88ec28 sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 10:22:11 +00:00
Paul Bakaus
980fbbea51 sortable: fixed serialize issue when a key was specified as option, but no custom expression 2008-06-26 10:00:32 +00:00
Paul Bakaus
858627cf4f sortable: extreme performance increase by using setTimeout delegation and local vs. inner scope check in it, tested in FF3, IE6 and IE7, but still experimental 2008-06-25 13:30:22 +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
c73ccd5c71 sortable: changed default distance to 1 2008-06-24 14:29:29 +00:00
Paul Bakaus
090dbb314b sortable:
- recalculating the offset of the offsetParent on refreshPositions as well (fixes #2951, #2976)
- fixed hierarchal sortable issues because of sortable-item expando not checking the sortable container (also fixes #2976)
2008-06-24 12:51:15 +00:00
Paul Bakaus
a002680ba9 sortable:fixed #3019, stop being fird too early 2008-06-24 11:47:42 +00:00
Paul Bakaus
430a0da9f6 sortable: the options.items callback now receives null as first argument, a limited ui object as the second. 2008-06-19 08:00:38 +00:00
Paul Bakaus
54adcb9502 sortable; moved the cursorAt and containment blocks after the start callback, allowing the helper to be resized in the start callback (fixes #3000) 2008-06-16 12:19:31 +00:00
Paul Bakaus
abdda174f2 tests: initial version of sortable tests/
sortable: added default value for helper ("clone")
2008-06-13 12:42:44 +00:00
Scott González
9aeec7f04a Dropped blank line at end of header comments. 2008-06-11 01:36:35 +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
593cb1ffef core: cancel checks for type string before it's used
draggable-test: changed cancel: true test: this should cancel on all elements, but simply do nothing, since true is a unsupported value.
2008-06-08 11:00:47 +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
Richard Worth
a635d0a7c9 renamed source -> ui 2008-06-07 17:37:43 +00:00