kborchers [Fri, 13 May 2011 15:23:44 +0000 (10:23 -0500)]
Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
(cherry picked from commit d136e4333e117b33aa16eb9a3a5831a25b1a2dd9)
Doug Neiner [Thu, 12 May 2011 05:51:05 +0000 (01:51 -0400)]
Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl
(cherry picked from commit 50a4186ef949ecaf7ab4977048160820587218d2)
gnarf [Thu, 12 May 2011 08:40:04 +0000 (03:40 -0500)]
Theme: Reducing size of CSS for Corner Properties - Fixes #7356 - Reducing size of some CSS
(cherry picked from commit 5a5fc9fb410725f333975b5ecd86ea3ad4131758)
Andrew Powell [Thu, 12 May 2011 15:28:37 +0000 (11:28 -0400)]
Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox
(cherry picked from commit a6227be2c09da2c698ee6d5251ac113b90585522)
Kato Kazuyoshi [Fri, 6 May 2011 19:28:19 +0000 (04:28 +0900)]
Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns.
(cherry picked from commit 4585182c703ba93e0cbb059319862c53e177f836)
Garrison Locke [Wed, 11 May 2011 18:20:28 +0000 (14:20 -0400)]
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
(cherry picked from commit a645630ebaf02febb19a5c9e28f1e46401f07ed0)
Kato Kazuyoshi [Wed, 11 May 2011 17:06:53 +0000 (13:06 -0400)]
Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids.
(cherry picked from commit 98fcb477d6a7091b21e9b7bc0b8c28f798954d47)
Kato Kazuyoshi [Fri, 6 May 2011 21:32:13 +0000 (06:32 +0900)]
Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed.
(cherry picked from commit ac459ff7df4904cb8601d4efb95107177ecb40e0)
Carson McDonald [Mon, 9 May 2011 15:00:12 +0000 (11:00 -0400)]
Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable
(cherry picked from commit 0e2bc5efe217681c006ae7a16be21520e6563da6)
kborchers [Mon, 9 May 2011 16:43:45 +0000 (11:43 -0500)]
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
(cherry picked from commit 9c50bdfde0260fc8412eec1c5020ed6b61558ebd)
Scott González [Fri, 6 May 2011 17:31:43 +0000 (13:31 -0400)]
Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out
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.