Richard Worth [Tue, 15 Mar 2011 12:42:28 +0000 (08:42 -0400)]
Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result
(cherry picked from commit 56b7ec134d8e1203f700f99dabcdad8c50a9b0c2)
Matt Hoskins [Mon, 14 Mar 2011 13:53:00 +0000 (06:53 -0700)]
Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed: #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache.(cherry picked from commit 84257e7f0ae20b81b085f1360c15defdd2b89ea9)
ddstreet [Fri, 11 Mar 2011 15:52:13 +0000 (10:52 -0500)]
Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases
(cherry picked from commit 0b30a1d450f6b7d529732d6a39c5f4057efaaaf4)
Marcel Toele [Fri, 11 Mar 2011 14:37:52 +0000 (15:37 +0100)]
Droppable: enabled and accepting droppables are now activated prior to evaluating their geometry. Fixes #7104 Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.
(cherry picked from commit 86e6ed2eb18adcc7f9f96dc347848608cc3d3120)
gnarf [Tue, 8 Mar 2011 22:04:55 +0000 (16:04 -0600)]
Effects demo: Animate a containing div instead of the canvas directly for easing demo. Fixes #7086 - easing only first click is working.
Canvas seems to be animating poorly in Chrome 11 - and animating the height only is scaling width too in some browsers yet not others...
(cherry picked from commit fa7f5d2873b1fef978eab7d9f342c5afa77e061c)
Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin
(cherry picked from commit 3a0ec399cdd19c7e7b11934aef559cfa6b8f8258)
awgy [Sat, 5 Feb 2011 13:45:37 +0000 (07:45 -0600)]
Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko(cherry picked from commit cf0649ed6abcee7045308a8cdbe9123259fa064a)
awgy [Sat, 5 Feb 2011 08:13:55 +0000 (02:13 -0600)]
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko(cherry picked from commit 548bdb12a116771b34a99ba97769ddef22f7d156)
michaelmwu [Sat, 5 Mar 2011 06:17:30 +0000 (22:17 -0800)]
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 f1d939bc589fd8d211e0dc540f7d92cfae94a411)
Richard Worth [Thu, 3 Mar 2011 02:27:09 +0000 (21:27 -0500)]
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
(cherry picked from commit 5c6afa8e7bcf0b7111245ad703d28cfcefc1d59f)
Scott González [Sat, 26 Feb 2011 10:13:00 +0000 (11:13 +0100)]
Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.
(cherry picked from commit e72afe4afca0795fc785114cfeafbe08f5e2fdf3)
adam j. sontag [Fri, 18 Feb 2011 16:45:44 +0000 (11:45 -0500)]
Datepicker: Display Year before Month in Hungarian i18n. Fixes #7019 - Hungarian Localisation has month-date in wrong order
(cherry picked from commit b4bcc1bf9dc8673089eb7cdcc3378a93d7f0a678)
Scott González [Wed, 16 Feb 2011 18:15:14 +0000 (13:15 -0500)]
Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.
Dan Heberden [Tue, 15 Feb 2011 18:15:46 +0000 (10:15 -0800)]
Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object
(cherry picked from commit 5c3dc7d48ae501bd52476bfc45905130577d52c9)
Martin Solli [Mon, 14 Feb 2011 13:49:33 +0000 (05:49 -0800)]
Datepicker: improved translation of Norwegian names for days and months. Fixed #6986 - Improved translation of day and month names(cherry picked from commit d505c7c66d9041988c4563801d781b47cad2e439)
Scott González [Tue, 15 Feb 2011 13:38:09 +0000 (08:38 -0500)]
Datepicker: Properly handle datepickers attached to inputs that are hidden using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same.
(cherry picked from commit 6fbee255d8d895c7e84a4b2eaad2cfadc8a3425a)
Alex Dovenmuehle [Fri, 11 Feb 2011 03:11:59 +0000 (22:11 -0500)]
Button: Batched class changes to improve performance. Fixes #6934. Button: Batch class changes to improve performance.
(cherry picked from commit 5b104dbcefdfa708d80e8babea0539617167012d)
Tobias Brunner [Thu, 3 Feb 2011 13:51:50 +0000 (08:51 -0500)]
Datepicker: only set the focus explicitly if it is not already on the target field. Fixed #6694 – datepicker does not fire change event in IE8
jQuery stores the current content of a field whenever it gets the focus. Since the fixed function is also called for KeyUp events the change event is not triggered anymore when the input looses focus.
(cherry picked from commit 39cf7d5bb4f9dfe1ada5dc2499f5c91e536ec96b)
George Marshall [Wed, 2 Feb 2011 02:52:17 +0000 (18:52 -0800)]
Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid
(cherry picked from commit 002f9a2629b906983c0b9edaffa0f7b9b5e457f5)
Scott González [Sun, 30 Jan 2011 14:39:18 +0000 (09:39 -0500)]
Datepicker - Fixed incorrect semi-colon that should have been a comma. Fixes #6916 - Datepicker date range demo: syntax glitch.
(cherry picked from commit fe6990e104834926042c96a29a6cccec4fdafd3b)
marcos.sousa [Tue, 18 Jan 2011 18:33:30 +0000 (16:33 -0200)]
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 f165c93127495d5041c3d49fa592fddbe8000bd1)
Scott González [Wed, 19 Jan 2011 15:45:44 +0000 (10:45 -0500)]
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 cf0c32f335479d00224d69f3c5ff53d147a6a8e6)
Scott González [Thu, 13 Jan 2011 21:36:14 +0000 (16:36 -0500)]
Accordion - Make sure we have an element before trying to modify the className. Fixes #6856 - Accordion: Opening a panel after all panels have been collapsed causes an error.
Scott González [Fri, 17 Dec 2010 16:15:17 +0000 (11:15 -0500)]
Autocomplete: Track pending requests and only remove the loading class when the last request completes. Fixes #6761 - Autocomplete: Loading class removed when multiple Ajax requests occur.
Scott González [Fri, 17 Dec 2010 15:48:17 +0000 (10:48 -0500)]
Autocomplete: Abort pending ajax requests when disabled and prevent handling results when disabled. Fixes #6752 - Menu may still render when autocomplete is disabled.
Mario Visic [Thu, 16 Dec 2010 10:10:30 +0000 (18:10 +0800)]
Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms.
Scott González [Wed, 8 Dec 2010 17:36:19 +0000 (12:36 -0500)]
Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
poplix [Mon, 6 Dec 2010 15:05:46 +0000 (10:05 -0500)]
Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max.
Scott González [Tue, 30 Nov 2010 22:55:29 +0000 (17:55 -0500)]
Autocomplete combobox demo: Reset the internal term property when an invalid selection is made. Fixes #6695 - Autocomplete combobox example does not show suggestion on second try.
pheiberg [Wed, 24 Nov 2010 18:17:23 +0000 (19:17 +0100)]
Datepicker: made it possible to select a date in the selected month using enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts
Scott González [Fri, 19 Nov 2010 21:28:02 +0000 (16:28 -0500)]
Autocomplete: Use the text of the option, not the value when checking for valid values. Fixes #6673 - Autocomplete combobox is not working in IE if value and name is different.
Scott González [Fri, 19 Nov 2010 21:17:52 +0000 (16:17 -0500)]
Autocomplete multiple demos: Don't leave the field when tabbing while the menu is open. Fixes #6661 - Autocomplete: Tab on multiple Autocomplete should not change focus after selecting.
skeetergraphics [Fri, 19 Nov 2010 15:35:34 +0000 (10:35 -0500)]
Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked.
jamiejag [Tue, 16 Nov 2010 01:45:19 +0000 (17:45 -0800)]
Dialog: Ensure dialogs have a z-index when calculating the max z-index. Fixex #5955 - Dialog: Closing UI dialog when z-index is not defined in any .ui-dialog class, causes NaN to be used as Z-index, throwing an error. Fixes #4652 - Dialog: Event loss in subsequent dialog calls (FF3).