Commit Graph

1691 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Scott González
b3145fb5bc Datepicker i18n: Added Australian and New Zealand localizations. Fixes #6828 - Datepicker: Add en-AU or en-NZ initialisations.
Thanks Campbell
2011-01-17 09:36:42 -05:00
Scott González
83fca58d1c Updated copyright year. 2011-01-17 09:36:00 -05:00
Scott González
c6394d7afa Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget. 2011-01-16 16:20:20 -05:00
Scott González
a7aa65d1fc Accordion - Make sure we have an element before trying to modify the className. Fixes #6856 - Accordion: Opening a panel after all panels have been collapsed causes an error. 2011-01-13 16:38:07 -05:00
Alex Dovenmuehle
3471bd66e0 Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8 2011-01-12 22:08:35 -05:00
Scott González
ca46a3a8a9 Position: Fixed calculation of collision dimensions. Fixes #6812 - Position: Collision detection fails on the right side in Internet Explorer. 2011-01-12 08:43:34 -05:00
Scott González
dd7aae2cc8 Accordion: Start the accordion animation before changing classes. Fixes #6720 - Accordion: ol numbering bug.
Thanks Tony Ross.
2011-01-11 13:22:03 -05:00
Saji
238196d900 Datepicker: Added Malayalam translation. Fixes #6822 - Datepicker: Add i18n translation for Malayalam. 2011-01-08 15:28:46 -05:00
Scott González
2aabc3911c Autocomplete: Track pending requests and only remove the loading class when the last request completes. Fixes #6761 - Autocomplete: Loading class removed when multiple Ajax requests occur. 2010-12-18 14:44:27 -05:00
Scott González
d2a12ff825 Autocomplete: Abort pending ajax requests when disabled and prevent handling results when disabled. Fixes #6752 - Menu may still render when autocomplete is disabled. 2010-12-18 14:44:18 -05:00
Scott González
cba92afe25 Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7. 2010-12-15 23:48:37 -05:00
Kevin Dalman
b475ae74df Effects: set right/bottom to 'auto' so effects work with dir=rtl. Fixed #6736 - Bug in slide effect when dir=rtl and has position.right. 2010-12-15 23:43:51 -05:00
Scott González
22671ad4f8 Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
This should be reverted in jQuery UI 1.9.
2010-12-08 12:36:19 -05:00
saks
63ec1152d8 Tabs: Added context to global selectors. Fixed #6710 - tabs module uses global selectors instead of local to "this.element" element. 2010-12-07 16:27:56 -05:00
Heiko Henning
5f919b2421 Datepicker: Added Rhaeto-Romanic translation. Fixes #6728 - Datepicker: Add i18n translation for Rhaeto-Romanic. 2010-12-07 12:33:18 -05:00
poplix
0d0969ca2b Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max. 2010-12-06 10:05:46 -05:00
dblood
51695f82c8 Datepicker: enabled OSX meta keys to work when constraining input. Fixed #5317 - datepicker cmd+a/c/v is not working on MAC OS-X 2010-12-03 08:44:34 -05:00
Scott González
b9e34f726a Dialog: Don't hide the dialog in _size if it started visible. Fixes #6717 - Dialog: Adding a button makes the dialog disappear in IE6. 2010-12-03 08:31:06 -05:00
Jean-Francois Remy
e01664a382 Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with containment on position:fixed elements. 2010-12-01 15:31:59 -05:00
Scott González
eac910f315 Autocomplete: Update selectedItem in the asynchronous focus handling for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8. 2010-12-01 11:51:16 -05:00
Scott González
c667cff22d Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-12-01 11:23:06 -05:00
Scott González
40135bb091 Autocomplete: Handle ajax errors and timeouts. Fixes #6692 - Autocomplete: ui-autocomplete-loading class not removed when Ajax request times out. 2010-11-30 22:19:20 -05:00
pheiberg
98f7e6a8d6 Datepicker: made it possible to select a date in the selected month using enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts 2010-11-30 17:46:53 -05:00
Scott González
9ade71071a Datepicker: Proper handling of empty strings for dates. 2010-11-22 12:59:57 -05:00
Scott González
7b523c2ec1 Datepicker: Handle clearing the date inside _setDate() as early as possible. Fixes #6684 - Datepicker: setDate() should accept an empty string.
Thanks RobinHerbots.
2010-11-22 11:46:36 -05:00
Scott González
a4d54b4d77 Datepicker: Don't use ui-helper-hidden-accessible for initial hiding. 2010-11-22 11:40:11 -05:00
Marian Rudzynski
d23fe49ae8 Progressbar: Added max option. Fixes #6681 - Progressbar: add max option. 2010-11-22 08:49:47 -05:00
pheiberg
d69f2ecb12 Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument 2010-11-22 08:29:29 -05:00
Khaled AlHourani
3361e8fe9d Datepicker: modified Arabic day names order. Fixed #6676 - ui.datepicker: Arabic Localization miss order 2010-11-21 09:47:06 -05:00
skeetergraphics
0c3e56dd7d Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked. 2010-11-19 10:35:34 -05:00
jamiejag
8bb412dd4a Dialog: Ensure dialogs have a z-index when calculating the max z-index. Fixex #5955 - Dialog: Closing UI dialog when z-index is not defined in any .ui-dialog class, causes NaN to be used as Z-index, throwing an error. Fixes #4652 - Dialog: Event loss in subsequent dialog calls (FF3). 2010-11-19 09:02:01 -05:00
Alex Dovenmuehle
abfa0e1e95 Core: Fixed switchClass queueing issues using lazy evaluation of element's style. Fixed #6244 - switchClass queues incorrectly. 2010-11-19 08:54:11 -05:00
pheiberg
a2e0eb920a Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly. 2010-11-18 16:13:28 -05:00
J. Ryan Stinnett
859c87e6d9 Effects: Allow named speeds to be 0. Fixes #6657 - Allow named speeds to be 0 2010-11-16 08:14:10 -05:00
Scott González
c2139fc2e6 Dialog: Added some missing semicolons. 2010-11-12 12:57:34 -05:00
Scott González
5dad57e3c2 Buttonset: Added items option and removed visible filter for adding rounded corners. Fixes #6262 - buttonset not applying ui-corner to invisible elements. 2010-11-12 10:28:55 -05:00
Scott González
f85b998f44 Autocomplete: Re-position menu after resizing, not before. Fixes #6648 - Autocomplete menu position issue when positioned to the right. 2010-11-12 08:41:36 -05:00
Jay Merrifield
dfb3544297 Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code. 2010-11-12 08:16:41 -05:00
Stéphane Raimbault
320dfb8679 Datepicker: fixed the French translation. Fixed #6646 - Wrong French translation of datepicker
References
- http://fr.wikipedia.org/wiki/Mois
- http://sourceware.org/bugzilla/show_bug.cgi?id=6040
- http://code.djangoproject.com/browser/django/trunk/django/conf/locale/fr/LC_MESSAGES/djangojs.po
2010-11-11 09:06:00 -05:00
awgy
e2a693ba78 Mouse: tie the preventClickEvent property to the event target, not the container. Fixes #4752 - link event firing on sortable with connect list 2010-11-09 09:52:24 -05:00
Scott González
412d1aa1c9 Slide effect: Handle string values for distance. Fixes #6637 - Slide effect is jumpy with certain parameter combinations.
Thanks Jeff Roush.
2010-11-09 08:38:06 -05:00
Scott González
7832fd8e9c Datepicker: Avoid flash during render in Firefox. Fixes #5493 - Datepicker: changeYear + yearRange causes flash in Firefox.
Thanks israelrios.
2010-11-05 10:25:06 -04:00
Scott González
226aa35e39 Datepicker: Fixed Norwegian locale. Fixes #6086 - Error in "jquery.ui.datepicker-no.js". 2010-10-26 09:17:58 -04:00
Scott González
f4d8ec9159 Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden. 2010-10-26 09:05:38 -04:00
Scott González
9ead629c2c Datepicker: Fixed currentText in French locale. Fixes #5455 - Correction in French localization for Datepicker. 2010-10-26 08:24:55 -04:00
sixhead
482d3c2561 Datepicker: Fixed month name in Thai localization. Fixes #5862 - Datepicker: wrong month name for Thai locale. 2010-10-26 08:18:38 -04:00
Scott González
5c67ed26e8 Autocomplete: Always reset this.term after a select event, even if the select is cancelled. Fixes #6221 - Autocomplete: Doesn't reset after Select when textbox cleared, if same letters typed in rapidly; source function not triggered in that case. 2010-10-25 10:01:43 -04:00
Scott González
a0847f3a08 Revert "Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox."
This reverts commit 32264f7ad1.
2010-10-22 15:25:12 -04:00
Scott González
32264f7ad1 Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-10-21 23:25:42 -04:00
Scott González
a0c856467d Autocomplete: Split menu resizing logic into its own method to create a more logical method to proxy for custom sizing. 2010-10-21 22:15:13 -04:00
Scott González
6ba75aa698 Widget: Don't throw errors for invalid method calls (wait till 1.9 to add this back). Reverts fix for #5972 - Widget: Throw error for non-existent method calls. 2010-10-21 09:52:27 -04:00
Scott González
eab0a6dac1 Position: Use a better check for determining if an object is a window. Fixes #6201 - Autocomplete: Broken menu in IE8 Standards Mode when including prototype framework. 2010-10-20 23:47:17 -04:00
Scott González
c74f53898e Widget: Fixed reference to element in _getCreateOptions(). 2010-10-19 23:19:53 -04:00
Scott González
72985fbbec Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2. 2010-10-19 22:45:56 -04:00
Richard D. Worth
ec73a59c77 Mouse: better check for not IE9 or greater in case mode was set by X-UA-Compatible. See http://msdn.microsoft.com/en-us/library/cc196988%28VS.85%29.aspx for more info. Fixes #5370 - All drag & drop events fail in IE9. Thanks xirzec. 2010-10-15 01:04:39 -07:00
Richard D. Worth
7eaedaad29 changed jQuery to $ in last commit for consistency 2010-10-14 02:55:40 -07:00
Richard D. Worth
8fcf58e29e Mouse: Limit mouseup out of window check to only versions of IE earlier than 9 as IE9 has this fixed. Fixes #5370 - All drag & drop events fail in IE9. 2010-10-14 02:53:20 -07:00
Scott González
a829697d0c Mouse: Always call event.preventDefault() in _mouseDown if we've met the starting conditions. Fixes #6174 - Mouse: 1.4.3rc2 breaks interactions on anchors. 2010-10-13 13:30:50 -04:00
Scott González
3e225de13c Core: Minor cleanup. 2010-10-12 09:20:04 -04:00
Scott González
450d0306dd Autocomplete: Don't react to key events on readonly inputs. Fixes #6170 - autocomplete pops up on readOnly inputs. 2010-10-11 17:23:50 -04:00
Scott González
da13ea26fe Autocomplete: Pass along some more original events. 2010-10-11 08:51:54 -04:00
=
03efae2887 Button: removed explicit call to _init() from _create(). Fixes #6165 - buttonset: refresh() fires twice on create 2010-10-09 02:24:56 +08:00
Scott González
09073f042e Effects: Added borderColor to color animation list. Fixes #6164 - Effectts: Allow borderColor to be animated. 2010-10-08 08:07:54 -04:00
Scott González
62799d9122 Widget: Simplified _getCreateOptions(). 2010-10-07 09:06:28 -04:00
Scott González
512825d358 Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init. 2010-10-06 15:11:49 -04:00
Dmitry Petrov
c3b282fceb Autocomplete: Prevent keypress events caused by enter key when selecting an item. Fixes #6055 - Autocomplete: Selecting an item by pressing enter submits the form in Opera. 2010-10-06 10:24:03 -04:00
m157y
66346d04bf Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker brokes handler ids with dashes 2010-10-06 08:37:25 -04:00
m157y
7da662410b Datepicker: fixed typo in russian localization. Fixed #6100 – Datepicker: Incorrect weekHeader for Russian localization 2010-10-06 08:34:40 -04:00
Scott González
302728bd87 Dialog: Fixed logic for mimicking minHeight. Fixes #6150 - Dialog height:auto does not work in IE6. 2010-10-05 16:20:43 -04:00
Scott González
a5c119558b Autocomplete: Make sure we have a response before trying to check the length. Fixes #6147 - Autocomplete: Errors on empty responses. 2010-10-05 11:09:39 -04:00