aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
Commit message (Collapse)AuthorAgeFilesLines
* All: Convert single quotes to double quotes.Mike Sherov2012-12-251-60/+60
|
* All: Use .addBack() instead of .andSelf().Scott González2012-12-141-1/+1
|
* Core: Removed $.ui.isOver() and $.ui.isOverAxis(). Fixes #8891 - Remove ↵Scott González2012-12-061-4/+8
| | | | $.ui.isOver() and $.ui.isOverAxis().
* Dev: Make sortable pass JSHint with only the loopfunc setting overrideMike Sherov2012-11-171-215/+344
|
* Updated all widgets to use proper data keys when getting plugin instances.Scott González2012-11-091-2/+2
|
* Dev: Standardize sortable test suite. Fixed #8755 - Dev: Get sortable test ↵Mike Sherov2012-11-011-26/+33
| | | | suite to pass
* Sortable: Calculating item distance and direction using a more robust ↵John Chen2012-10-101-4/+14
| | | | | | | | | | | algorithm to better support sorting among nested sortables. Fixes #8572 - Wrong placeholder positions. Fixes #8573 - Can't drag an item out of an inner sortable. Fixes #8574 - Hard to put an item between two inner sortables. Use the item which has the least distance between the mouse pointer and one of its borders to rearrange, with direction being determined by the nearest border. Also we use this algorithm to rearrange even when currentContainer is not changed to override the defective rearrangment in _mouseDrag
* Sortable: Fix a bug of removing an item while iterating an array. Fixes ↵John Chen2012-10-101-6/+5
| | | | #8571 - Out of range problem in when dragging a nested sortable.
* Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily.Scott González2012-10-101-1/+1
|
* Updated docs URLS.Scott González2012-09-261-1/+1
|
* Sortable: Fixed container change detection. Fixes #5159 - Remove and receive ↵Martin Hoch2012-08-221-9/+11
| | | | events on nested sortables.
* Sortable: Fixed jerkiness with nested-sortables. Fixes #4857 - Nested lists ↵Martin Hoch2012-08-221-1/+10
| | | | don't work properly with sortable.
* Simplify licensing.Scott González2012-08-091-1/+1
|
* Sortable: Reset fromOutside property when canceling helper removal. Fixes ↵Baoju Yuan2012-07-161-0/+2
| | | | #8430 - draggable with sortable makes sortable event receive triggered wrong.
* Update copyright to jQuery Foundation.Scott González2012-07-041-1/+2
|
* Sortable: Remove workaround for Safari 3.Scott González2012-06-141-4/+4
|
* Sortable: calculating item positions on the fly and setting the direction ↵Courthead2012-05-221-1/+2
| | | | variable when inserting an item into a different sortable. Fixed #8268 - Items may not be inserted into the correct position when dragged between connected sortables
* Sortable: Remove uses of self var; use that var.Scott González2012-05-091-41/+37
|
* Sortable: Moved change of helper position css. Fixed #5321 – Helper in a ↵martinf552012-05-071-5/+5
| | | | bottom-positioned Sortable is positioned wrong on drag start.
* Sortable: update placeholder when axis is x or y. Fixed #8274 - placeholder ↵Jason Moon2012-04-301-2/+2
| | | | doesn't move when dragging outside of container element
* Revert "Sortable: Always set placeholder size when necessary. Fixes #8262 - ↵Scott González2012-04-301-2/+3
| | | | | | jQuery UI 1.8.19 don't respect forcePlaceholderSize." This reverts commit 4f19289c10e733a07cf60435c2e5df4ed2e23d37.
* Revert "Sortable: modified the contents of placeholder to a single " ". ↵Scott González2012-04-301-1/+1
| | | | | | Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down." This reverts commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2.
* Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery ↵Bertjh2012-04-191-3/+2
| | | | UI 1.8.19 don't respect forcePlaceholderSize.
* Sortable: Whitespace.Scott González2012-04-191-43/+43
|
* Protect all copyright notices against minificationJo Liss2012-04-021-1/+1
| | | | | | | For instance, this is useful for the jquery-ui-rails gem, which does not use jQuery UI's own minification, but relies on Rails to minify the files where necessary. Rails in turn uses UglifyJS for JS and YUI for CSS, both of which respect the /*! ... */ convention.
* Updated copyright year.Scott González2012-03-081-1/+1
|
* Sortable: modified the contents of placeholder to a single " ". Fixed ↵Bertjh2012-02-241-1/+1
| | | | #8135 - sortable: Horizontal sortable shifts causes elements to shift down.
* Sortable: Fixed destroy to remove instance from element. Fixes #8094 - ↵Scott González2012-02-021-1/+1
| | | | .sortable() after destroy does not work.
* Sortable: Added a variable to track if initialization is complete. Fixes ↵SpoonNZ2012-01-201-1/+5
| | | | #4759 - a major optimization is possible in sortable().
* Sortable: replaced hard-coded sortable with this.widgetName, and removed ↵Richard D. Worth2011-09-271-10/+9
| | | | lines from destroy that are handled by super. Fixes #7741 - ui.sortable is not working when it is extended
* All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store ↵Scott González2011-05-281-4/+1
| | | | version numbers on instances.
* Sortable: Changed to check the parent's length so that the dom position of ↵kborchers2011-05-161-1/+1
| | | | the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
* Bug fix for another use case, see comment by whittet here: ↵whittet2011-04-271-1/+1
| | | | http://bugs.jqueryui.com/ticket/6702
* Sortable: Reverted 56b0da59d71396a740cf48a75902243d561ba186 as #4551 is invalid.Richard Worth2011-04-071-0/+4
|
* Sortable: Changed floating calculation to determine also whether items are ↵michaelmwu2011-03-041-2/+2
| | | | being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)
* Sortable: Make sure we have a placeholder before trying to remove it during ↵marcos.sousa2011-01-191-14/+16
| | | | a cancel. Fixes #6879 - Sortable: Calling cancel when there is no sort occurring throws an error.
* Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - ↵Scott González2011-01-191-1/+1
| | | | UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
* Updated copyright year.Scott González2011-01-171-1/+1
|
* All: Use .toggleClass() instead of conditionally using .addClass() and ↵Xavi2010-12-191-2/+1
| | | | .removeClass(). Fixes #6764 - Use toggleClass instead of [ bool ? 'addClass' : 'removeClass' ].
* All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - ↵Scott González2010-12-101-10/+10
| | | | Deprecate $.ui.contains.
* Sortable: Return an empty URL param for empty sortable lists. Fixed #5794 - ↵Holger Rüprich2010-07-171-0/+4
| | | | sortable("serialize", {key: "foo[]"}) returns an empty string for an empty list
* All: Added http://jqueryui.com/about to header comments.Scott González2010-07-141-1/+1
|
* All: Define a local undefined variable inside the main closure.Scott González2010-07-131-1/+1
|
* Updated copyright headers to make it clear that you can choose between MIT ↵Scott González2010-07-091-3/+3
| | | | and GPLv2. Also added a link to http://jquery.org/license.
* Fix 'this.options is undefined' in sortable by using this instead of selfornicar2010-05-051-1/+1
|
* sortable: don't call the base widget _setOption for disabled to avoid the ↵Richard D. Worth2010-04-091-0/+12
| | | | ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class
* Sortable: Fixed a bug with over/out events and connected draggables.Scott González2010-03-161-2/+5
| | | | Fixes #5346 - over and out events not triggered when draggable connected with single (non-nested) sortable.
* reverted r3888 un-fixing #5322 for now as trunk is in release candidate ↵Richard Worth2010-03-111-2/+2
| | | | state - only criticals and blockers should be fixed until 1.8 is final
* sortable: fixed #5322 (helper position weird when axis was used, fixes ↵Paul Bakaus2010-03-111-2/+2
| | | | sortable tabs demo)
* Sortable: Only trigger over event when changing the current container.Scott González2010-02-201-2/+2
| | | | Fixes #5111 - 1.8rc1 sortable#over method bugged -- called along with #sort instead of on mouseover.