Baoju Yuan
347aa335f0
Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong.
...
(cherry picked from commit dcea4f043a
)
2012-07-16 10:27:15 -04:00
Scott González
b76ac3057f
Sortable: calculating item positions on the fly and setting the direction 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
...
(cherry picked from commit c42bdcecf8
)
Conflicts:
ui/jquery.ui.sortable.js
2012-05-22 08:04:36 -04:00
martinf55
8e899dab6c
Sortable: Moved change of helper position css. Fixed #5321 – Helper in a bottom-positioned Sortable is positioned wrong on drag start.
...
(cherry picked from commit 32f356bbfa
)
2012-05-07 09:05:07 -04:00
Jason Moon
81835fab0c
Sortable: update placeholder when axis is x or y. Fixed #8274 - placeholder doesn't move when dragging outside of container element
...
(cherry picked from commit b8b0c52830
)
2012-04-30 13:04:38 -04:00
Scott González
1ffafe65b0
Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
...
This reverts commit b6e1f25ab8
.
(cherry picked from commit b38dd26da0
)
2012-04-30 10:53:00 -04:00
Scott González
3752211565
Revert "Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize."
...
This reverts commit 4f19289c10
.
(cherry picked from commit 21df5c27e3
)
2012-04-30 10:52:53 -04:00
Bertjh
36d44d13e7
Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize.
...
(cherry picked from commit 4f19289c10
)
2012-04-19 09:06:55 -04:00
Jörn Zaefferer
dc67d2c5d2
Protect all copyright notices against minification
...
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 37dcc3e21d
, dropped menu, spinner and tooltip)
2012-04-02 18:14:51 +02:00
Scott González
5e3ad8f160
Updated copyright year.
2012-03-19 09:25:07 -04:00
Bertjh
f0b7130a54
Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.
...
(cherry picked from commit b6e1f25ab8
)
2012-02-24 08:39:19 -05:00
Scott González
988b803be3
Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable() after destroy does not work.
2012-02-02 11:43:22 -05:00
SpoonNZ
b00faa95d0
Sortable: Added a variable to track if initialization is complete. Fixes #4759 - a major optimization is possible in sortable().
...
(cherry picked from commit ba6916f22a
)
2012-01-20 11:03:23 -05:00
Richard D. Worth
5c6cfe2645
Sortable: replaced hard-coded sortable with this.widgetName, and removed lines from destroy that are handled by super. Fixes #7741 - ui.sortable is not working when it is extended
...
(cherry picked from commit 228b1b191b
)
2011-09-27 07:59:20 -04:00
kborchers
ed65ce7a14
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
...
(cherry picked from commit 8e8a7b015f
)
2011-05-25 16:13:00 -04:00
whittet
f3737a9183
Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702
...
(cherry picked from commit 2bf061ea6f
)
2011-05-02 17:46:20 -04:00
Richard Worth
c205fbc4cc
Sortable: Reverted 56b0da59d7
as #4551 is invalid.
...
(cherry picked from commit 54016b8469
)
2011-04-07 09:14:31 -04:00
michaelmwu
20b010640e
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)(cherry picked from commit f1d939bc58
)
2011-03-07 08:28:59 -05:00
marcos.sousa
1ce8cf885f
Sortable: Make sure we have a placeholder before trying to remove it during a cancel. Fixes #6879 - Sortable: Calling cancel when there is no sort occurring throws an error.
...
(cherry picked from commit f165c93127
)
2011-01-19 11:13:16 -05:00
Scott González
465c4c2cbe
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
...
(cherry picked from commit cf0c32f335
)
2011-01-19 10:45:56 -05:00
Scott González
83fca58d1c
Updated copyright year.
2011-01-17 09:36:00 -05:00
Holger Rüprich
9d01ab5645
Sortable: Return an empty URL param for empty sortable lists. Fixed #5794 - sortable("serialize", {key: "foo[]"}) returns an empty string for an empty list
2010-07-17 03:06:04 +08:00
Scott González
8a5d4ca321
All: Added http://jqueryui.com/about to header comments.
2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a
All: Define a local undefined variable inside the main closure.
2010-07-13 09:57:58 -04:00
Scott González
536ae6189b
Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license .
2010-07-09 09:01:04 -04:00
ornicar
a4488aff7c
Fix 'this.options is undefined' in sortable by using this instead of self
2010-05-05 19:14:55 +08:00
Richard D. Worth
3291d3951a
sortable: don't call the base widget _setOption for disabled to avoid the ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class
2010-04-09 14:43:44 -04:00
Scott González
3c31d720ce
Sortable: Fixed a bug with over/out events and connected draggables.
...
Fixes #5346 - over and out events not triggered when draggable connected with single (non-nested) sortable.
2010-03-16 01:15:57 +00:00
Richard Worth
e0faff7e11
reverted r3888 un-fixing #5322 for now as trunk is in release candidate state - only criticals and blockers should be fixed until 1.8 is final
2010-03-11 16:57:10 +00:00
Paul Bakaus
1a487a18b7
sortable: fixed #5322 (helper position weird when axis was used, fixes sortable tabs demo)
2010-03-11 16:35:20 +00:00
Scott González
009378cadc
Sortable: Only trigger over event when changing the current container.
...
Fixes #5111 - 1.8rc1 sortable#over method bugged -- called along with #sort instead of on mouseover.
2010-02-20 02:31:49 +00:00
Scott González
9e02f80176
Fixed event prefix in all plugins that don't use the default prefix.
...
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00
Richard Worth
074153407d
Happy New Year
2010-01-20 14:04:26 +00:00
Scott González
7d96a0d096
Widget factory: Changed _create to _init.
...
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
90fb45dffa
Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests).
2010-01-07 03:19:50 +00:00
Scott González
06e29401b8
Split mouse into its own file and udpdated dependency lists.
...
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Chi Cheng
5084445afc
Sortable: add missed self. in uiHash.
2009-09-27 16:07:19 +00:00
Richard Worth
e2d873e6f0
renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935
2009-09-17 10:39:12 +00:00