Commit Graph

98 Commits

Author SHA1 Message Date
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
Paul Bakaus
91232f6ed5 sortable:
- merged back all position and scroll fixed from draggables
- renamed accurate to accurateIntersection and set it to true by default
- refactored intersection code (no change in logic)
- added forceHelperSize option (default: false), a forced helper size is also triggered when the generated helper doesn't have any styles set for width/height, so this option won't be needed in most cases
2008-11-25 09:57:41 +00:00
Paul Bakaus
19a7d6bc5b sortable: Another regex for the innerHTML copying in the placeholder, removes the expando attribute in IE (fixes #3541) 2008-11-24 13:48:50 +00:00
Eduardo Lundgren
65289463de Sortables: using isOverAxis. 2008-11-21 18:41:57 +00:00
Eduardo Lundgren
89793957e5 Sortables: Fixed tolerance guess. Changed name _intersectsWithEdges to _intersectsWithPointer. 2008-11-21 15:30:15 +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
Paul Bakaus
c3df1b6df6 sortable: removing ui.options caused plugins not to work anymore - fixed all regressions 2008-11-19 15:08:02 +00:00
Paul Bakaus
2a6a356109 sortable: removed ui.element and ui.options from the UI object, corrected the callback for the items option, now includes event if applicable 2008-11-19 09:54:53 +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
ba34bfdf36 Sortable: remove console.log 2008-11-12 14:50:15 +00:00
Eduardo Lundgren
71ae568116 Sortable: More accuracy improvements. 2008-11-12 04:34:34 +00:00
Eduardo Lundgren
d7707b1fb1 Core and Sortable: $.ui.contains method moved into the core. This method could be util for another components. 2008-11-12 03:57:23 +00:00
Eduardo Lundgren
2ab2f3c7e1 Change name of intersect methods to isOverHeight/isOverWidth/isOver. 2008-11-10 06:39:52 +00:00
Eduardo Lundgren
acf15c4f08 Sortable: Using the new core intersectHeight/intersectWidth methods. 2008-11-10 05:17:12 +00:00
Paul Bakaus
2619fc8073 sortable: returning false in any callback will now call this.cancenl() to cancel the ongoing action 2008-11-06 11:24:34 +00:00
Paul Bakaus
e4d0e3e2e3 sortable: removed support for ui.cancel(), must now be called via the sortable() function as method (sortable('cancel')). Now works even if the drag is still ongoing, i.e. the mouse button is still pressed. 2008-11-04 13:34:04 +00:00
Paul Bakaus
5e5116b3d4 sortable: implemented ui.cancel(), a function that can be called to completely cancel the sortable attempt, and revert to the original state (implements #3283, #3402) 2008-11-03 21:41:59 +00:00
Paul Bakaus
1045a83f49 sortable: checked inputs are not unchecked anymore after drag start (fixes #3466) 2008-11-03 14:58:21 +00:00
Paul Bakaus
0e16fcf1e8 sortable: all events of the inner nodes of the sortable item were unbound after the sort (this is related to remove() in jQuery, bugfix is not to use remove()), fixes #3488 2008-11-03 13:23:15 +00:00
Eduardo Lundgren
be7db1369d Sortable - accurate option added, If you prefer better accuracy and low performance set accurate: true. 2008-10-30 06:57:32 +00:00
Eduardo Lundgren
95980d34da Sortable - delta direction improved 2008-10-28 18:05:02 +00:00
Eduardo Lundgren
fe12e22f47 Sortable - Float elements tolerance fixed 2008-10-28 14:44:27 +00:00
Eduardo Lundgren
cd01814a85 Sortable - Prevent mouseCapture while help is reverting 2008-10-28 06:41:11 +00:00
Eduardo Lundgren
f69197bcec Sortable - Checking if helper exists 2008-10-28 06:35:01 +00:00
Eduardo Lundgren
429a36fee9 Sortable - Tolerance accuracy sortable improved 2008-10-28 05:44:17 +00:00
Paul Bakaus
25ad531eb4 sortable: fixed issue with first time append of the placeholder, now also the original classes are appended to the placeholder, with usually should give it the right size 2008-10-17 08:13:14 +00:00
Paul Bakaus
77f717d830 sortable: fixed toArray method
coverflow: renamed init to _init
2008-10-14 10:00:52 +00:00
Jörn Zaefferer
923d1ec3bb adding version property to all ui components 2008-10-05 16:29:21 +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