Corey Frang [Sat, 20 Aug 2011 23:05:39 +0000 (18:05 -0500)]
Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would everywhere, switching back to keydown.
(cherry picked from commit dfe75e1b552013c440186645a7a1ae9ec3c757b5)
Corey Frang [Fri, 19 Aug 2011 11:07:47 +0000 (06:07 -0500)]
Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog
(cherry picked from commit 96e5c241e1b26224c53738b590e07290db7a3e54)
Karl Kirch [Tue, 9 Aug 2011 13:55:50 +0000 (09:55 -0400)]
Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler.
(cherry picked from commit d14629735648fb10403e38eac2b764ce6adf56c9)
Scott González [Tue, 9 Aug 2011 13:32:01 +0000 (09:32 -0400)]
Mouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes #7620 - Mouse: Error in IE 8 with disabled inputs.
(cherry picked from commit 7f812f8be99bf8dc483b84b12432b61a8e3d59cd)
Scott González [Tue, 9 Aug 2011 12:27:04 +0000 (08:27 -0400)]
Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
Corey Frang [Thu, 4 Aug 2011 03:19:29 +0000 (22:19 -0500)]
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"
(cherry picked from commit 065aef537b7533046907fcffc6896949e44679eb)
kborchers [Tue, 2 Aug 2011 13:36:22 +0000 (08:36 -0500)]
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
(cherry picked from commit dafc941b3632bb79823a72c36bfae7f1f985ca25)
Original commit message from f9996682b5739661c21548f0de3d4c4883c5119d:
Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs.
Richard D. Worth [Tue, 19 Jul 2011 15:03:22 +0000 (11:03 -0400)]
Datepicker i18n: Corrected Dutch abbreviation of month name March. Fixed #7566 - Dutch march name translation
(cherry picked from commit 5002bf61855ffe365f759f0b2c484188bfe4e1d6)
Richard D. Worth [Tue, 19 Jul 2011 11:59:21 +0000 (07:59 -0400)]
Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height
(cherry picked from commit b8af0d1f7505dd5e56319a11bbd14f1e381b36b9)
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.