Commit Graph

2672 Commits

Author SHA1 Message Date
John Chen
bae06d2b1e Sortable: Calculating item distance and direction using a more robust 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
2012-10-10 14:56:03 -04:00
John Chen
20e6064711 Draggable: Fix a bug when dragging into nested sortables there are duplicated placeholders. Fixes #7777 - Draggable and Nested Sortables bug. 2012-10-10 14:46:52 -04:00
John Chen
77a4aaf47a Sortable: Fix a bug of removing an item while iterating an array. Fixes #8571 - Out of range problem in when dragging a nested sortable. 2012-10-10 14:39:38 -04:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
fa62f21e5a Tabs: Handle extraneous list items when using ui-tabs-active to set the initially active tab. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-10-09 09:07:11 -04:00
Richard D. Worth
1e6e4ce4dc Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined 2012-10-09 08:41:18 -04:00
Scott González
0a31a82831 Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties. 2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72 Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error. 2012-10-05 11:26:49 -04:00
Scott González
d434c9a442 typo 2012-10-04 11:59:11 -04:00
Scott González
f5261f359e Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8622 - Tooltip tracks mouse when the element has focus. 2012-10-04 11:14:37 -04:00
Scott González
2c50b1b8b5 Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate(). 2012-10-01 16:52:54 -04:00
Scott González
d20f05ea37 Accordion: New approach to synchronizing animations. Fixes #4178 - Accordion animation a bit jumpy in some browsers. 2012-10-01 16:25:23 -04:00
Scott González
4ab4684cfc Dialog: Don't try to place the dialog next to itself on destroy. Fixes #8613 - Destroying a dialog removes the original element from the DOM. 2012-10-01 15:34:44 -04:00
Scott González
7882bf4548 Updated docs URLs for core files. 2012-09-29 16:32:52 -04:00
Scott González
149567e476 Updated docs URLS. 2012-09-26 18:06:20 -05:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -04:00
Jared A. Scheel
19a9d57868 Draggable: Always clean up iframes. Fixes #8555 - Draggable: iframeFix option leaves iframes in DOM when using a selector. 2012-09-06 12:30:11 -04:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
6abb10766c Dialog: Only bind focus-trapping event once. Fixes #8551 - After repeated opening and closing of a modal dialog, focus navigation using tab becomes slow. 2012-09-04 17:00:26 -04:00
Scott González
e242868f56 Tooltip: Allow strings for content option. 2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44 Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically. 2012-08-31 15:38:21 -04:00
Bernhard Sirlinger
dec9c54632 Effects (Shake): Divide duration by number of animation steps. Fixed: #8531 - Shake effect: Duration is multiplied based on number of shakes. 2012-08-30 11:23:07 -04:00
Scott González
13fa4a9dac Tabs: Don't apply a spinner when nested tabs are loading. Fixes #8529 - tabs with in tabs, heading appears as Loading.... 2012-08-30 09:44:57 -04:00
Philipp Benjamin Köppchen
bce0838938 Droppable: greedy children now consider only parents with same scope as parents. Fixed #8524 - Nested greedy droppables trigger parents events even when scopes are different 2012-08-29 08:24:14 -04:00
Scott González
96cabd59ab Effects: Cleanup. 2012-08-27 17:23:30 -04:00
Scott González
93556a8e18 Menu: If the active element no longer exists after a refresh, blur the menu. 2012-08-27 08:05:27 -04:00
Scott González
6e7bd4d895 Revert "Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance." This revert fixes a more serious problem: Fixes #8522 - Calendar doesn't render when moving between datepicker controls.
This reverts commit b4ef2f7ebb.
2012-08-26 17:21:23 -04:00
Pierre-Henri Ausseil
767af39f7f Autocomplete: Fixed an invisible character tht lead to a failure of the function. 2012-08-26 17:09:39 -04:00
Kris Borchers
d372882af1 Datepicker: Replace HTML entities with characters in es, fi, gl, is, it, pt-BR, pt and sl i18n files. Fixes #8515 - Datepicker: Translation displays HTML entities when setting some formats 2012-08-23 20:25:12 -05:00
Jiayi Yang
a922d4d5b6 Datepicker: Updated zh-CN, zh-HK, and zh-TW locales. Fixes #8511 - Localization Issue: the monthNameShort in Chinese is wrong. 2012-08-23 21:00:29 -04:00
Scott González
8aa410b2fc Core: Whitespace. 2012-08-23 07:35:40 -04:00
Scott González
c343598d2a Core: Deprecate .enableSelection() and .disableSelection(). Fixes #7755 - Core: Deprecate .disableSelection() and .enableSelection(). 2012-08-23 07:30:29 -04:00
Martin Hoch
b9ef00f0c7 Sortable: Fixed container change detection. Fixes #5159 - Remove and receive events on nested sortables. 2012-08-22 22:04:40 -04:00
Martin Hoch
2b899cc843 Sortable: Fixed jerkiness with nested-sortables. Fixes #4857 - Nested lists don't work properly with sortable. 2012-08-22 22:02:39 -04:00
Scott González
651460792b Position: Properly handle flip collision when the window is scrolled. Fixes #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft. 2012-08-17 10:34:00 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00
Scott González
536d112aa9 Upgrade jQuery Color to 2.0.0. Fixes #6969 - Effects: 'borderColor' property is buggy. 2012-08-14 08:46:15 -04:00
Scott González
30b579f598 Datepicker: Unescape double escaped ids when handling events. Fixes #8480 - Datepicker 1.8.22 escaped id does not work. 2012-08-09 16:32:16 -04:00
Scott González
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -04:00
Scott González
e68bee9b84 Mouse: Don't try to unbind delegated event handlers if they don't exist. Fixes #8416 - Draggable breaks during drag if any other draggable is removed or destroyed. 2012-07-31 16:27:43 -04:00
kborchers
7e1cb95d37 Menu: Open submenu on click of parent item and only close menu when clicking item without submenu. 2012-07-31 00:00:07 -05:00
Scott González
b68b116adf Autocomplete: Fixed spacing. 2012-07-30 12:48:47 -04:00
Mark Aaron Shirley
1626c97caa Datepicker: Changed body selector to document.body. Fixed #8464 - Datepicker does not properly scope the body selector. 2012-07-27 09:40:11 -07:00
Corey Frang
ed64ccfef4 Effects: Fixing call to outerHeight/Width in slide effect for compat with 1.8 core 2012-07-20 18:50:34 -05:00
Corey Frang
85d259483e Effects: Fixing bug in blind effect caused by 48659c64 - auto doesn't parse 2012-07-20 18:35:32 -05:00
Corey Frang
4e3d31e1ee Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core 2012-07-20 18:07:45 -05:00
Luis Dalmolin
147ec7bd62 Datepicker: Fixed position problem when input is in a fixed element. Fixes #5626 - DatePicker doesn't work inside fixed div. 2012-07-17 16:22:03 -04:00
Maciej Mroziński
cb44dc6c28 Datepicker: Deleted z-index style on hidden input. Fixed #7449 - Datepicker dialog has a negative z-index. 2012-07-17 16:16:27 -04:00
Maciej Mroziński
b4ef2f7ebb Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance. Fixed #6814 - datepicker('setDate') incorrectly overwrites current display with two datepickers. 2012-07-17 16:08:31 -04:00
Baoju Yuan
dcea4f043a Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong. 2012-07-16 10:26:02 -04:00