marcneuwirth [Tue, 28 Jun 2011 15:59:08 +0000 (10:59 -0500)]
Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called
(cherry picked from commit effdd5d19c534f8445ebafe4212278c4366b0041)
marcneuwirth [Tue, 28 Jun 2011 15:49:47 +0000 (10:49 -0500)]
Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed
(cherry picked from commit a56aa861b1deb6d71ec74a77647d12d50570ea57)
kborchers [Mon, 13 Jun 2011 17:05:42 +0000 (12:05 -0500)]
Datepicker: Set font-size to 0em on ui-datepicker-row-break to override font-size coming from ui-widget which caused the height to be too tall in IE
(cherry picked from commit abf833049d4e56b591595b65c5150baa0ff2223f)
kborchers [Fri, 27 May 2011 20:10:53 +0000 (15:10 -0500)]
Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed
(cherry picked from commit 1d984e76b79bfeda15eff392e06d8ed0eab72333)
kborchers [Fri, 27 May 2011 17:01:42 +0000 (12:01 -0500)]
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
(cherry picked from commit 67bd872fe1f8c4763d646f4eca852777e6f7a126)
Jay Merrifield [Fri, 27 May 2011 03:42:51 +0000 (23:42 -0400)]
Mouse: Optimize the cancel locator, works around a bug where .add(event.target) in IE8 can take a long time when there are multiple siblings. Fixes #7118 - IE Bug Large ComboBox (Dialog)
(cherry picked from commit 09e88d6220af2f90197c826ac3a31a0ca97f2c8f)
Jeff Remy [Thu, 26 May 2011 23:08:58 +0000 (19:08 -0400)]
Resizable: correct aspectRatio handling with min/max dimensions. Fixed #4951 - Resizable with aspectRatio true & a maxWidth doesn't obey ratio once hit max width.
(cherry picked from commit 981e96948f45e5c5c32d005e379a5030c98c3d8d)
Glenn Goodrich [Thu, 26 May 2011 15:28:17 +0000 (11:28 -0400)]
Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation
(cherry picked from commit c49dbe0f0120dec9922d5cb6459a93d33ef41579)
kborchers [Mon, 16 May 2011 21:25:03 +0000 (16:25 -0500)]
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.
(cherry picked from commit 8e8a7b015f4f5a76c187dfca9af7519ae356bb16)
Scott González [Fri, 20 May 2011 13:53:50 +0000 (09:53 -0400)]
Resizable: Remove workaround for handles not working in IE when transparent with overlapping content. Fixes #7397 - Resizable: icon not showing. Fixes #7390 - Resizable: https domain reports 'unsecured items' in IE7. Reopens #7233 - Resizable: resizable handles fail to work in IE if transparent and content overlaps.
(cherry picked from commit 42dd56de5a0d67a7db2c2f49dc665e62afce8dda)
Jörn Zaefferer [Wed, 18 May 2011 15:12:01 +0000 (17:12 +0200)]
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
(cherry picked from commit 29b36bb4090632aaf306cc44591386c0263c9d27)
Kato Kazuyoshi [Fri, 6 May 2011 20:58:06 +0000 (05:58 +0900)]
Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered.
(cherry picked from commit 2063a113d6dbae006413896a93d46a34ebc9b155)
Jay Merrifield [Sat, 14 May 2011 22:20:06 +0000 (18:20 -0400)]
Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time.
(cherry picked from commit 41205cef4b23749592c832605452af6575970623)
kborchers [Thu, 12 May 2011 21:27:12 +0000 (16:27 -0500)]
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
(cherry picked from commit 6e6d0b749c4724955a88a0a53ae1378391991064)
Kris Borchers [Fri, 13 May 2011 19:28:10 +0000 (15:28 -0400)]
Button: Don't fire click/change events if mouse was dragged during click of toggle (checkbox/radio) button. Fixed #6970 - Button state inconsistencies after (accidental) drag-clicking the button.
(cherry picked from commit a69a1788bc5cd67c6e627e519e20897a0c238945)
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)