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.
Corey Frang [Mon, 17 Oct 2011 19:47:20 +0000 (14:47 -0500)]
Build: `ant size` will now give you a report detailing differences in size since the last time you ran the report
(cherry picked from commit 264139b22584eef1de672d0a7f1c52d14318eb56)
Scott González [Tue, 27 Sep 2011 16:10:17 +0000 (12:10 -0400)]
Progressbar: Hide overflowing content. Fixes #7743 - Progressbar: Value div can flow out of wrapper div.
(cherry picked from commit 25ba0e6ef39c7aebcf2f0901823470422110970f)
Richard D. Worth [Tue, 27 Sep 2011 11:57:06 +0000 (07:57 -0400)]
Sortable: replaced hard-coded sortable with this.widgetName, and removed lines from destroy that are handled by super. Fixes #7741 - ui.sortable is not working when it is extended
(cherry picked from commit 228b1b191b4f668a74e7005fc9c8c9250c090aa9)
Datepicker: Added additional check to checkExternalClick to work when clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar
(cherry picked from commit af76ad1c82625521b94bfc8bf967d9ca4f44da37)
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"