Commit Graph

3099 Commits

Author SHA1 Message Date
Scott González
5b45dbebe1 Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
(cherry picked from commit 401c91418c)
2011-04-04 08:55:15 -04:00
Scott González
a8fc3da628 Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1.
(cherry picked from commit 98c53d8432)
2011-04-04 07:56:52 -04:00
Scott González
8310d185b3 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 2197c61f1f)
2011-03-28 17:34:57 -04:00
Giovanni Giacobbi
eb3d955438 Restructured if/else's for better readability
(cherry picked from commit 3ce8429f4f)
2011-03-21 09:48:10 -04:00
Ralph Whitbeck
c9341a3619 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 4d557092ff) 2011-03-21 09:19:18 -04:00
Scott González
74d6069c16 Merge branch '1-8-stable' of github.com:jquery/jquery-ui into 1-8-stable 2011-03-18 08:28:18 -04:00
Scott González
2b4a902e00 Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
(cherry picked from commit 6d01645716)
2011-03-18 08:27:46 -04:00
Scott González
0ab3f5480f Updating the 1-8-stable version to 1.8.12pre 2011-03-15 15:43:24 -04:00
Scott González
09dd8d2735 Tagging the 1.8.11 release. 2011-03-15 15:43:24 -04:00
Richard Worth
003baaaa4a 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 2011-03-15 12:53:58 -04:00
Richard Worth
3cfba5d9a8 Autocomplete: moved autoFocus implementation to after menu visible for a11y
(cherry picked from commit 4026d3acd7)
2011-03-15 12:27:40 -04:00
Richard Worth
1fe58dbf52 Autocomplete: refactored unit tests for autoFocus option
(cherry picked from commit c1a0f2bf6c)
2011-03-15 09:37:18 -04:00
Richard Worth
218100e704 Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result
(cherry picked from commit 56b7ec134d)
2011-03-15 08:43:53 -04:00
Richard Worth
779df6517d Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 05:43:19 -04:00
Richard Worth
69ebdf46a5 Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected 2011-03-15 04:52:24 -04:00
Richard Worth
6bbc43113c Button: avoid .last() call to ensure compatibility with jQuery 1.3. Fixed #7089 - Button: .last() used in ui.button but not exists in jQ 1.3 2011-03-14 17:18:35 -04:00
Matt Hoskins
6fcdff13fa 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 84257e7f0a) 2011-03-14 10:51:24 -04:00
ddstreet
2d6ad06873 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 0b30a1d450)
2011-03-11 10:54:18 -05:00
Marcel Toele
c5b0a8660a 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 86e6ed2eb1)
2011-03-11 10:21:24 -05:00
gnarf
6bd5c08a1d 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 fa7f5d2873)
2011-03-09 08:45:46 -05:00
Guillaume Gautreau
a067dfa8a2 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 3a0ec399cd)
2011-03-08 09:33:23 -05:00
Scott González
4f9091efdc Mouse visual test: Bump jQuery version.
(cherry picked from commit d7979a8b71)
2011-03-07 10:52:29 -05:00
awgy
ee63c1aa3f Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko(cherry picked from commit cf0649ed6a) 2011-03-07 10:52:11 -05:00
awgy
15aec63edc Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko(cherry picked from commit 548bdb12a1) 2011-03-07 10:52:03 -05:00
Adam Parod
12d38b1886 Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
(cherry picked from commit 74b7c3f684)
2011-03-07 09:35:40 -05:00
michaelmwu
20b010640e 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 f1d939bc58) 2011-03-07 08:28:59 -05:00
Richard Worth
bfb5582435 Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
(cherry picked from commit 5c6afa8e7b)
2011-03-02 21:47:51 -05:00
Richard Worth
db50f3ef50 Switched to latest stable jQuery 1.5.1 2011-03-02 21:00:50 -05:00
Scott González
c9bbd9aa6e Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.
(cherry picked from commit e72afe4afc)
2011-02-26 11:15:08 +01:00
Scott González
98513985a2 Datepicker: Added Tajikistan localization. Fixes #7034 - Datepicker: Add Tajikistan localization.
(cherry picked from commit 0cd297702d)
2011-02-25 10:40:56 +01:00
Scott González
6c7090ae5d Updating the 1-8-stable version to 1.8.11pre 2011-02-22 11:48:12 +01:00
Scott González
d14c18cc03 Tagging the 1.8.10 release. 2011-02-22 11:48:12 +01:00
adam j. sontag
971566d258 Datepicker: Display Year before Month in Hungarian i18n. Fixes #7019 - Hungarian Localisation has month-date in wrong order
(cherry picked from commit b4bcc1bf9d)
2011-02-21 21:19:46 +01:00
Scott González
9162679e15 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.
Thanks jomyjohn
(cherry picked from commit c44818fcca)
2011-02-16 13:16:00 -05:00
Dan Heberden
ab7a5b441a 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 5c3dc7d48a)
2011-02-15 13:27:18 -05:00
Martin Solli
685ac7a042 Datepicker: improved translation of Norwegian names for days and months. Fixed #6986 - Improved translation of day and month names(cherry picked from commit d505c7c66d) 2011-02-15 10:00:53 -05:00
Scott González
cf9dac6c17 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)
2011-02-15 08:38:27 -05:00
Alex Dovenmuehle
9191ee3cd8 Button: Batched class changes to improve performance. Fixes #6934. Button: Batch class changes to improve performance.
(cherry picked from commit 5b104dbcef)
2011-02-10 22:12:56 -05:00
Tobias Brunner
d14366abce 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 39cf7d5bb4)
2011-02-03 08:52:27 -05:00
George Marshall
d6fa44a0b4 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 002f9a2629)
2011-02-02 14:15:19 -05:00
Scott González
d4e715f4bc Datepicker - Fixed incorrect semi-colon that should have been a comma. Fixes #6916 - Datepicker date range demo: syntax glitch.
(cherry picked from commit fe6990e104)
2011-01-30 09:39:29 -05:00
Scott González
6b9b513e77 Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means.
(cherry picked from commit a1ab9678e9)
2011-01-27 14:50:40 -05:00
Scott González
e1174228c7 Updating the 1-8-stable version to 1.8.10pre 2011-01-19 13:18:34 -05:00
Scott González
8f8a536645 Tagging the 1.8.9 release. 2011-01-19 13:18:34 -05:00
marcos.sousa
1ce8cf885f 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 f165c93127)
2011-01-19 11:13:16 -05:00
Scott González
465c4c2cbe 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 cf0c32f335)
2011-01-19 10:45:56 -05:00
Scott González
904548d5b7 Datepicker i18n: Added Algerian Arabic to demos.
(cherry picked from commit 30c9473d8f)
2011-01-19 10:16:01 -05:00
cherif
cf622cacd6 Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
(cherry picked from commit fcf8c2631c)
2011-01-19 10:15:44 -05:00
Christoph Burgdorf
0ed452bf25 Draggable: Incase helper is not set to 'original' succeed with revert action even if the original element has been removed. Fixes #6871 2011-01-18 23:10:43 +01:00
Ivan Peters
015ea163d1 Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872: parseDate does not default shortYearCutoff correctly. 2011-01-18 00:42:25 -05:00