Eike Send [Thu, 5 May 2011 12:45:06 +0000 (14:45 +0200)]
Button: stop disabled button from firing click events. fixes #5945. Behavior was inconsisten between BUTTON and A elements.
(cherry picked from commit a7f1659cdc99222a733ed2edbd7d00dc57c30227)
Kato Kazuyoshi [Wed, 4 May 2011 19:07:43 +0000 (04:07 +0900)]
Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
(cherry picked from commit fc97ccd398b60525fd9e4c0e9aa1f51048984394)
Kato Kazuyoshi [Wed, 4 May 2011 20:06:27 +0000 (05:06 +0900)]
Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
(cherry picked from commit a891e81e06c7ce491ae9058aea2fa7fbd51eddb6)
Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702
(cherry picked from commit 2bf061ea6fd3bad7d6f5a77eebb22b7cc07140e4)
Edward Faulkner [Thu, 28 Apr 2011 14:43:02 +0000 (10:43 -0400)]
Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div
(cherry picked from commit d62074961171ea00deaae34890b78f917d21bf68)
Scott González [Wed, 27 Apr 2011 14:49:08 +0000 (10:49 -0400)]
Class Animation: Use .attr( "class" ) instead of .attr( "className" ) and adjust the queueing logic for jQuery 1.6 compatibility. Fixes #7275 - $.effects.animateClass broken in jQuery 1.6.
Datepicker: Fixed Slovak locale. Fixes #7254 - Datepicker: Incorrect day name for Slovak localization.
(cherry picked from commit 59c787fa4a975547e7789928126028bdfe132582)
Richard Worth [Sun, 10 Apr 2011 03:12:53 +0000 (23:12 -0400)]
Resizable: use background-image:url(data:) instead of background-image:url(about:blank) as it's shorter and safer. Thanks @epascarello . Better fixes #7233 - Resizable: resizable handles fail to work in IE if transparent and content overlaps
(cherry picked from commit 08b6a2b5189f62c62a0ee725629087b445f308d7)
Richard Worth [Sat, 9 Apr 2011 19:54:17 +0000 (15:54 -0400)]
Resizable: Added a non-visible yet non-transparent (apparently) no-request background-image on resizable handles to work around an IE bug. Fixed #7233 - Resizable: resizable handles fail to work in IE if transparent and content overlaps
(cherry picked from commit 64f13b661a571806bdfb181d1ef511ac9e2771b3)
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv should be hidden when value is at 0%
(cherry picked from commit 3b77ac654b079a3098d12cca04d2397bb3863b85)
Scott González [Thu, 7 Apr 2011 18:06:36 +0000 (14:06 -0400)]
Dialog: Don't use .attr( props, true ) for creating buttons since that API doesn't exist in jQueery 1.3.2. Fixes #7226 - Dialog buttons badly handled with JQuery 1.3.2.
Scott González [Mon, 4 Apr 2011 11:55:42 +0000 (07:55 -0400)]
Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1.
(cherry picked from commit 98c53d8432990f2c674e3a1274141b64a87d8ee9)
Scott González [Mon, 28 Mar 2011 21:34:04 +0000 (17:34 -0400)]
Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable.
(cherry picked from commit 2197c61f1f91a7b5046fb994d370f38ded602ee6)
Ralph Whitbeck [Sun, 20 Mar 2011 14:58:08 +0000 (07:58 -0700)]
Tabs: Updates cookie demo to include more information on how to find cookie plugin. Fixes #7172, [Documentation] Explain cookie plugin is included in externals.(cherry picked from commit 4d557092ffe070c0c52a852530d3947436175539)
Scott González [Fri, 18 Mar 2011 12:26:08 +0000 (08:26 -0400)]
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
(cherry picked from commit 6d0164571647e169c9674a2853f3223caf188e7e)
Richard Worth [Tue, 15 Mar 2011 16:53:58 +0000 (12:53 -0400)]
Accordion unit test: corrected autoFocus test to check for ui-state-hover instead of ui-state-focus. Also corrected name and argument order of equal() call
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.