aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
Commit message (Collapse)AuthorAgeFilesLines
* 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 (cherry picked from commit b8b0c528301ab2bfc49e36143a3c4f6451e58ccd)
* 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. (cherry picked from commit b38dd26da0a7297941839195ff75885d6ecc67d0)
* 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. (cherry picked from commit 21df5c27e312c6e5fda66e602abefa51c484d676)
* Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery ↵Bertjh2012-04-191-3/+2
| | | | | | UI 1.8.19 don't respect forcePlaceholderSize. (cherry picked from commit 4f19289c10e733a07cf60435c2e5df4ed2e23d37)
* Protect all copyright notices against minificationJörn Zaefferer2012-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. (cherry picked from commit 37dcc3e21df5f1373ff9963217073a9faecfc057, dropped menu, spinner and tooltip)
* Updated copyright year.Scott González2012-03-191-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. (cherry picked from commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2)
* Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - ↵Scott González2012-02-021-0/+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(). (cherry picked from commit ba6916f22ac3fac993975abc0f86d6cb0bf9c08d)
* 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 (cherry picked from commit 228b1b191b4f668a74e7005fc9c8c9250c090aa9)
* Sortable: Changed to check the parent's length so that the dom position of ↵kborchers2011-05-251-1/+1
| | | | | | the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback. (cherry picked from commit 8e8a7b015f4f5a76c187dfca9af7519ae356bb16)
* Bug fix for another use case, see comment by whittet here: ↵whittet2011-05-021-1/+1
| | | | | | http://bugs.jqueryui.com/ticket/6702 (cherry picked from commit 2bf061ea6fd3bad7d6f5a77eebb22b7cc07140e4)
* Sortable: Reverted 56b0da59d71396a740cf48a75902243d561ba186 as #4551 is invalid.Richard Worth2011-04-071-0/+4
| | | | (cherry picked from commit 54016b8469345a325e8c1ab6f8a7d17b0f0f8d01)
* Sortable: Changed floating calculation to determine also whether items are ↵michaelmwu2011-03-071-2/+2
| | | | being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)(cherry picked from commit f1d939bc589fd8d211e0dc540f7d92cfae94a411)
* 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. (cherry picked from commit f165c93127495d5041c3d49fa592fddbe8000bd1)
* 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. (cherry picked from commit cf0c32f335479d00224d69f3c5ff53d147a6a8e6)
* Updated copyright year.Scott González2011-01-171-1/+1
|
* 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.
* Fixed event prefix in all plugins that don't use the default prefix.Scott González2010-02-051-2/+2
| | | | Fixes #5134 - Events not being triggered for drag and drop.
* Happy New YearRichard Worth2010-01-201-1/+1
|
* Widget factory: Changed _create to _init.Scott González2010-01-151-1/+1
| | | | Partial fix for #5064 - Widget: make multiple instantiation more useful.
* Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, ↵Scott González2010-01-071-28/+28
| | | | menu; including menu static tests).
* Split mouse into its own file and udpdated dependency lists.Scott González2009-12-221-0/+2
| | | | Fixes #5023 - Split mouse code into its own file.
* Sortable: add missed self. in uiHash.Chi Cheng2009-09-271-1/+1
|
* renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to ↵Richard Worth2009-09-171-0/+1050
jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935