Jason Moon [Wed, 25 Apr 2012 03:27:35 +0000 (22:27 -0500)]
Sortable: update placeholder when axis is x or y. Fixed #8274 - placeholder doesn't move when dragging outside of container element
(cherry picked from commit b8b0c528301ab2bfc49e36143a3c4f6451e58ccd)
Scott González [Mon, 30 Apr 2012 16:41:20 +0000 (12:41 -0400)]
Draggable: Don't run stop methods for elements that have been removed. Fixed #8269 - Removing draggable element on drop : a(this).data("draggable") is undefined.
(cherry picked from commit 27d10235539e0f5baad6ee7e8d3d91cab65e2cfd)
Scott González [Mon, 30 Apr 2012 14:38:51 +0000 (10:38 -0400)]
Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
TJ VanToll [Tue, 10 Jan 2012 02:42:56 +0000 (21:42 -0500)]
Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page.
(cherry picked from commit 6150abae49f77a3b2f67c39a3c60a06792b4de8f)
G Karunakar [Sat, 14 Apr 2012 19:58:40 +0000 (01:28 +0530)]
Datepicker: Corrections in Hindi weekday names, text labels. Fixes #8265 - Datepicker: Incorrect translations for Hindi locale.
(cherry picked from commit d783766f9053a2075c579296d819f0941796ac1c)
Scott González [Wed, 18 Apr 2012 20:17:21 +0000 (16:17 -0400)]
Grunt: Replace all instances of @VERSION during copy. Fixes #8261 - Build: @VERSION replacement incomplete.
(cherry picked from commit 7475763474ba2dc976136c9374b201a1f6df8a83)
Scott González [Sun, 15 Apr 2012 18:40:12 +0000 (14:40 -0400)]
Position: Simplify default demo by removing drag functionality on positioned elements. Fixes #5380 - Position Demo breaks when dragging an element.
(cherry picked from commit 6da7278e879c0dc734c23231a71fdd92f7a57a0c)
Autocomplete: Don't invoke a search from arrow keys when the element can have multi-line text. Fixes #7639 - Key up/key down in textarea's should optionally not toggle auto-complete.
Scott González [Tue, 3 Apr 2012 19:37:56 +0000 (15:37 -0400)]
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
(cherry picked from commit 4ade13450e7145100dcce3356eb1449e1a5f7090)
Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
(cherry picked from commit 37dcc3e21df5f1373ff9963217073a9faecfc057, dropped menu, spinner and tooltip)
Scott González [Thu, 29 Mar 2012 13:58:21 +0000 (09:58 -0400)]
Datepicker: Fixed nextText, prevText, and Sunday and split words onto multiple lines for readability. Fixes #8225 - Datepicker: Incorrect values in Persian localization.
(cherry picked from commit a51451dc1b19bf6c2e10b1648b57d006bf38c303)
Scott González [Thu, 22 Mar 2012 17:17:17 +0000 (13:17 -0400)]
Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector.
(cherry picked from commit adbc2733bbd4d4c117dd2e0f31d5156e2913bfd1)
stojce [Thu, 22 Mar 2012 14:26:47 +0000 (15:26 +0100)]
Datepicker: Fixed month name for Macedonian localization. Fixes #8206 - Datepicker: Incorrect month name for Macedonian localization.
(cherry picked from commit 9bb9141f299ce1b7ddcffc39063a9e6581e19ba6)
Scott González [Mon, 19 Mar 2012 13:05:40 +0000 (09:05 -0400)]
Revert "Button: Apply overflow: hidden in all browsers except IE 6,7 to avoid expanding the size of the button from negative text indent. Fixes #7911 - Button: icon only button in dialog causes horizontal scrollbar in Opera."
Scott González [Wed, 14 Mar 2012 19:16:25 +0000 (15:16 -0400)]
Datepicker: Corrected values of dayNamesShort in Finnish translation. Fixes #8194 - Datepicker: Incorrect day name for Finnish localization.
(cherry picked from commit 5c53dd1bbc0cb0897d4851bad77c3fe22fda27dc)
Jasvir Nagra [Fri, 24 Feb 2012 21:57:46 +0000 (13:57 -0800)]
Datepicker: modified a catch variable to no longer mask an existing variable in scope. Fixed #8138 - datepicker: IE8 does not create a new scope for catch blocks and will cause
(cherry picked from commit 367da95ba5afcb80bebce75cd529a46004f60381)
Bertjh [Fri, 24 Feb 2012 09:24:25 +0000 (10:24 +0100)]
Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.
(cherry picked from commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2)
Richard D. Worth [Thu, 23 Feb 2012 17:12:34 +0000 (12:12 -0500)]
Corrected week header for et locale. Fixed #8129 - Localization error in et locale (week header)
(cherry picked from commit fa40c352af59258362d17e2f1e8642343b1ae3c0)
Richard D. Worth [Mon, 13 Feb 2012 14:20:04 +0000 (09:20 -0500)]
Sortable demos: connect lists - added some bottom padding to each container. Fixed #8114 - Sortable "Connect Lists" demo doesn't allow dropping as last element
(cherry picked from commit efdf6cdf9f0e6aaecad7b3ac53afca38938d9048)
Scott González [Sat, 11 Feb 2012 23:30:44 +0000 (18:30 -0500)]
Accordion demo: Work around some IE quirks in the sortable demo. Fixes #5413 - Accordion + Sortable doesn't work properly on IE6/7.
(cherry picked from commit 00b69db88365e41afbed29b9fed3592e0703b8ed)
Scott González [Sat, 11 Feb 2012 13:15:24 +0000 (08:15 -0500)]
Autocomplete: Set context for ajax requests instead of relying on default context. Fixes #7490 - Autocomplete fails when context option is set with ajaxSetup.
(cherry picked from commit 041cb39a6667e3637a40fad6ef952da476f2af97)
Scott González [Thu, 9 Feb 2012 19:00:21 +0000 (14:00 -0500)]
Slider: Prevent the default action on keydown if we're listening for the pressed key. Fixes #8109 - Slider: Key handling should prevent scrolling.
(cherry picked from commit 0434bce03d1368f5ace043fa50e9d4f95677c09e)
Scott González [Wed, 8 Feb 2012 18:42:55 +0000 (13:42 -0500)]
Datepicker: Allow descendant elements in triggers. Fixes #8107 - Closing the datepicker via the provided button does not work in Chrome when the button contains other non-text elements.
(cherry picked from commit c964894b9b75dc7df62660725967a1f7a526a3ec)
Demos draggable: corrected cursor option in cursor-style demos to not be inside of cursorAt option. Fixed #8104 - Draggable cursorAt demo options incorrect
(cherry picked from commit 60799826aabda51182caefb67318a52ccdbf9b79)
levushka [Wed, 1 Feb 2012 19:47:56 +0000 (14:47 -0500)]
Datepicker i18n: Changed Hebrew monthNamesShort from number to names. Fixes #6051 - Hebrew and Arabic: Instead of the month name indicates the month number!
(cherry picked from commit e496cde384d1497993394f04110ef8099d256eee)
Scott González [Tue, 31 Jan 2012 19:07:17 +0000 (14:07 -0500)]
Accordion demo: Clear out originalEvent in hoverintent special event. Fixes #6028 - Accordion: Hoverintent demo throws an error in IE.
(cherry picked from commit 66c7dfd377d91bd5867ce1a9b607e8ed25955241)
Scott González [Sat, 28 Jan 2012 12:44:58 +0000 (07:44 -0500)]
Demos: Specify the dataType when loading the demo and docs files. Fixes #8069 - UI demos fail from local file:// in Firefox 9 - bad tags, bad calls in demo sources.
(cherry picked from commit ba4335712226ecfd66d34ddc93def2433af82f8c)
ryanolton [Thu, 12 Jan 2012 16:22:48 +0000 (11:22 -0500)]
Datepicker: added check to account for multiple pickers on one page. Fixed #5818 – multiple DatePickers won't trigger close event(cherry picked from commit 82cf9e297fd78730dadd9a486d6871eca72455dd)
clear00 [Thu, 12 Jan 2012 20:01:01 +0000 (05:01 +0900)]
Datepicker i18n: Fix monthNames, monthNamesShort, dayNames, showMonthAfterYear on the Korean translation . Fixed #8010 - Datepicker i18n: Fix some issues on the Korean translation(cherry picked from commit c0dfa1173c7427622a9f7573b173211f6b594a5f)
SpoonNZ [Fri, 20 Jan 2012 03:54:47 +0000 (16:54 +1300)]
Sortable: Added a variable to track if initialization is complete. Fixes #4759 - a major optimization is possible in sortable().
(cherry picked from commit ba6916f22ac3fac993975abc0f86d6cb0bf9c08d)
Scott González [Fri, 20 Jan 2012 02:37:21 +0000 (21:37 -0500)]
Core: Access offsetHeight on div for support tests to avoid a layout bug in IE 9. Fixes #8026 - minHeight support test affects page layout in IE 9.
(cherry picked from commit 956c2cd2a5a44d40a9b2fb0a8c05f765fa302c92)
Scott González [Thu, 19 Jan 2012 13:27:15 +0000 (08:27 -0500)]
Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: There is a reference to the global jQuery variable.
(cherry picked from commit 07ec849f623699c87fc7ecc3770ea11ad9ba8e4e)
Scott González [Thu, 12 Jan 2012 13:59:34 +0000 (08:59 -0500)]
Simulate: Define getters for pageX and pageY in mouse events if they come through as 0. Fixes #7324 - simulate mouse events broken for IE 9.
(cherry picked from commit e2d9b02c56ee92fa92913b451598b59a385db609)
Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari: jQuery.simulate() doesn't set "which" field for key events
(cherry picked from commit b90d83c6c4e3f5e328d5557aa35ce9fbded6fd0f)
Scott González [Tue, 29 Nov 2011 20:01:04 +0000 (15:01 -0500)]
Button: Apply overflow: hidden in all browsers except IE 6,7 to avoid expanding the size of the button from negative text indent. Fixes #7911 - Button: icon only button in dialog causes horizontal scrollbar in Opera.
(cherry picked from commit a3a5c65d4dd9eb6be0e8a71d82c3ca86b38ed009)
Scott González [Tue, 22 Nov 2011 13:31:11 +0000 (08:31 -0500)]
Selectable: Explicitly check event.ctrlKey now that jQuery differentiates between meta and ctrl. Fixes #7858 - ctrl-click to select multiple elements not working.
(cherry picked from commit 35dd0417bdb442ad00a9eb37a85db5ddf1b14615)
Jay Oster [Fri, 16 Sep 2011 00:02:18 +0000 (17:02 -0700)]
Datepicker: Fix `this` reference in _hideDatepicker(). Fixed #7722 - Datepicker: Does not properly clear current instance when hidden.
(cherry picked from commit c36b43d0ee3cf7e10d82d21e3a4ca6cb954f4c16)
Michael P. Jung [Mon, 21 Nov 2011 21:16:32 +0000 (16:16 -0500)]
Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable.
(cherry picked from commit fdc332ed5fb7f7e688151d5cae9b450569d73da5)
Richard D. Worth [Wed, 16 Nov 2011 15:52:12 +0000 (10:52 -0500)]
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee
(cherry picked from commit 97bc2d9de9875e222254cfa1cd3fa3bde605c2ed)
Richard D. Worth [Fri, 11 Nov 2011 14:24:55 +0000 (09:24 -0500)]
Demos accordion hoverintent: moved event.type setter to not clobber event.type. Partial fix for #7871 - Demo accordion hoverintent: hover instead of hoverintent behavior with jQuery 1.7.0
(cherry picked from commit f0f54e38d8eab613d7ea25d698b81126e5263d83)
Scott González [Thu, 10 Nov 2011 12:58:44 +0000 (07:58 -0500)]
Widget: Set event.target in ._trigger(). Fixes #7852 - Droppable event target changes under jQuery 1.7.
(cherry picked from commit 1b165148a6654f64d572bd4c28ddb2cee5f6a332)
Theme base core: Updated clearfix to 'new micro clearfix hack' by Nicolas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/ . Fixed #7838 - Clearfix breaks after runs through YUI Compressor
(cherry picked from commit c21a5b4451f5eded288de4482b9508e2bd13756d)
Scott González [Tue, 25 Oct 2011 21:19:26 +0000 (17:19 -0400)]
Autocomplete: Add 1px to the width of the menu to avoid wrapping in Firefox. Fixes #7513 - Autocomplete: long text wraps in Firefox.
(cherry picked from commit 4cc61b459d73af78dd40f01e3250f2546d9f04bd)
Corey Frang [Tue, 18 Oct 2011 17:11:11 +0000 (12:11 -0500)]
Build: Switching to uglify.js instead of closure compilier. Saves 4 minutes per build, and actually produces slightly smaller files
(cherry picked from commit bd71f24f5d5c1767f24b3c88df9fab8be38ed734)
Scott González [Tue, 18 Oct 2011 12:10:57 +0000 (08:10 -0400)]
Autocomplete: Re-enable native autocomplete whent he page is unloaded. Fixes #7790 - Autocomplete-enabled text input does not keep value when using back button in browser.