Commit Graph

28 Commits

Author SHA1 Message Date
Richard D. Worth
228b1b191b 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 2011-09-27 07:57:06 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
kborchers
8e8a7b015f 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. 2011-05-16 16:25:03 -05:00
whittet
2bf061ea6f Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702 2011-04-27 07:21:29 -07:00
Richard Worth
54016b8469 Sortable: Reverted 56b0da59d7 as #4551 is invalid. 2011-04-07 09:08:48 -04:00
michaelmwu
f1d939bc58 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) 2011-03-04 22:17:30 -08:00
marcos.sousa
f165c93127 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. 2011-01-19 11:11:49 -05:00
Scott González
cf0c32f335 Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param. 2011-01-19 10:45:44 -05:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
Xavi
956697bfca All: Use .toggleClass() instead of conditionally using .addClass() and .removeClass(). Fixes #6764 - Use toggleClass instead of [ bool ? 'addClass' : 'removeClass' ]. 2010-12-19 16:52:22 -05:00
Scott González
9681b1fd7e All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains. 2010-12-10 15:13:10 -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