Scott González
e986bd8877
Accordion: Reduced some code in _toggle().
2011-02-04 23:50:49 -05:00
Scott González
d808f933eb
Accordion: Simplify _toggle() implementation.
2011-02-04 22:37:29 -05:00
Scott González
e2560f654e
Accordion: Always have _activate delegate to _eventHandler.
2011-02-04 21:52:09 -05:00
Scott González
ed57047bf9
Accordion: First pass at cleaning up activation/event handling code.
2011-02-03 23:02:46 -05:00
Scott González
ee88a56243
Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - Widget: Allow redefining a widget to create extensions.
2011-02-03 16:37:17 -05:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
352ef4c9b3
Accordion: Cleaned up destroy and refresh methods.
2011-02-03 11:04:22 -05:00
Scott González
2e17770e54
Accordion: Update active option when programmatically collapsing the accordion.
2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2
Accordion: Handle negative values for active option on init.
2011-02-03 09:59:05 -05:00
Scott González
714a77f202
Accordion: Properly handle collapsible: false and active: false by changing active to 0.
2011-02-03 09:54:11 -05:00
Tobias Brunner
39cf7d5bb4
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.
2011-02-03 08:51:50 -05:00
Scott González
8ac5da2315
Accordion: Cleanup.
2011-02-02 21:33:57 -05:00
Scott González
f1ff9b8f4d
Accordion: Added ui-accordion-header-icon class to generated icons in order to not interfere with any additional icons that users might add.
2011-02-02 21:15:25 -05:00
George Marshall
002f9a2629
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
2011-02-01 18:52:17 -08:00
Michael DellaNoce
b3fcf17471
Widget: Modified _trigger to invoke callbacks with apply so that handlers are invoked the same way .trigger() invokes them. Fixes #6795 - Widget: _trigger passes array arguments to handlers inconsistently.
2011-02-01 06:57:48 -05:00
Scott González
cb8f5b7f26
Merge branch 'master' into widget-events
...
Conflicts:
ui/jquery.ui.widget.js
2011-01-31 22:04:09 -05:00
Scott González
bb857ddd8d
Tabs: Use ._focusable() and ._hoverable().
2011-01-31 21:56:55 -05:00
Scott González
17004b9cac
Widget: Use focusin/focusout for ._focusable().
2011-01-31 21:55:22 -05:00
jzaefferer
03dcdd6373
Optimize widget's _createWidget method to not store data and bind remove
...
when dealing with an instance without an element (element == instance).
2011-01-31 16:33:45 +01:00
Scott González
6309061a2b
Accordion: added a comment.
2011-01-31 08:58:01 -05:00
Scott González
c58012364b
Accordion: Removed ui-accordion-li-fix class; I couldn't find instances where this caused a problem in IE. Fixed #6892 - Accordion: broken animation in Chrome.
2011-01-31 08:50:17 -05:00
Scott González
a1ab9678e9
Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means.
2011-01-27 14:49:59 -05:00
Scott González
7a6dd71f8c
Accordion: Allow canceling the beforeActivate event. Fixes #6896 - Accordion: Allow canceling the beforeActivate event.
2011-01-25 00:52:42 -05:00
Scott González
088ef05142
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
2011-01-25 00:05:55 -05:00
Scott González
3e370a4467
Dialog: Use ._focusable() and ._hoverable().
2011-01-24 21:58:40 -05:00
Scott González
140d90a9a4
Accordion: Test cleanup.
2011-01-24 15:45:29 -05:00
Scott González
c96c249780
Accordion: First pass at splitting out tests for deprecated functionality.
2011-01-24 14:38:23 -05:00
Scott González
cc90b44060
Widget: Allow this.element to be the widget instance instead of a DOM element. Fixes #6895 - Widget: Allow non-DOM based widget.
2011-01-24 13:33:24 -05:00
Scott González
29bfb86ce2
All: Define defaultElement for non-div widgets.
2011-01-23 17:55:53 -05:00
Scott González
8d1713dd8e
Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once.
2011-01-23 17:38:33 -05:00
Scott González
244eebe74d
Widget: Allow instantiation without the new keyword.
2011-01-22 20:39:37 -05:00
Scott González
3a0b617bb4
Widget: Added ability to generate an item if no item is passed on creation.
2011-01-22 20:30:40 -05:00
Scott González
711df1f5e5
Widget: Added _hoverable() and _focusable().
2011-01-21 15:37:18 -05:00
marcos.sousa
f165c93127
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.
2011-01-19 11:11:49 -05:00
Scott González
cf0c32f335
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
2011-01-19 10:45:44 -05:00
Scott González
30c9473d8f
Datepicker i18n: Added Algerian Arabic to demos.
2011-01-19 10:15:15 -05:00
cherif
fcf8c2631c
Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
2011-01-19 09:11:24 -05:00
jzaefferer
6a79c70852
Spinner: Update to latest jquery-global plugin, removing the currency
...
workaround.
2011-01-18 12:11:26 +01:00
Scott González
6072703cd1
Widget: Added "dynamic" bindings via ._bind() to allow for proxying.
2011-01-18 01:53:20 -05:00
Scott González
659db70caa
Widget: Added ._bind() for easily binding events with correct context and disabled checking. Pretty much a direct copy from the previous bind branch.
2011-01-18 01:46:26 -05:00
Ivan Peters
67b070f97a
Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872 : parseDate does not default shortYearCutoff correctly.
2011-01-18 16:25:58 +13:00
Scott González
a4d2a0fa19
Datepicker i18n: Added Australian and New Zealand localizations. Fixes #6828 - Datepicker: Add en-AU or en-NZ initialisations.
...
Thanks Campbell
2011-01-17 09:26:30 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
53dc2d3056
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:19:58 -05:00
Scott González
1dc4d64dd4
Spinner: Moved ARIA to input and fixed tests.
2011-01-15 08:28:13 -05:00
Scott González
e0b52831fc
Updated widgets to use new methods from $.Widget.
2011-01-15 06:34:07 -05:00
Scott González
56c4c6aca9
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
2011-01-14 17:11:22 -05:00
Scott González
ef1202dbe0
Widget: destroy() now calls _destroy() so that widgets don't need to call the base destroy method. Fixes #5056 - Widget factory: Remove need to call base destroy method.
2011-01-14 16:55:13 -05:00
Scott González
25dae411bc
Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add _super() and _superApply() for easy access to parent methods.
2011-01-14 15:52:03 -05:00
Scott González
66606407ed
Accordion: Force the width of the accordion panel during animation when animating from a fully collapsed state. Fixes #5540 - Accordion: Jumpy animation when opening a panel after closing all.
...
The animation code should be refactored.
2011-01-14 14:35:37 -05:00
Scott González
1b2f6ce095
Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh.
2011-01-14 12:18:33 -05:00
Scott González
eabb391e47
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
2011-01-13 19:32:08 -05:00
Scott González
2df430d0e3
Widget: Removed commented out code.
2011-01-13 19:27:22 -05:00
Scott González
cb50642e34
Widget: Removed code for the remove event in jQuery < 1.4.
2011-01-13 19:26:52 -05:00
Scott González
ee77fde5fc
Accordion: Cleaned up _createIcons().
2011-01-13 19:23:55 -05:00
Scott González
4e7aa53e3e
Accordion: Use event.preventDefault() instead of return false when handling keydown.
2011-01-13 16:48:56 -05:00
Scott González
b22c69b949
Accordion: call event.preventDefault() inside the _eventHandler() instead of in each individual event handler.
2011-01-13 16:45:21 -05:00
Scott González
93d01208eb
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:36:14 -05:00
Scott González
599e1434c5
Merge branch 'accordion-activate'
2011-01-13 14:56:29 -05:00
Scott González
468c35877a
Accordion: Moved handling for programmatically collapsing the accordion out of the event handler. Modified event handler to not change the active option until after it determines that the event is valid.
2011-01-13 14:42:35 -05:00
Scott González
3c11cd3051
Accordion: Added note about supporting negative values for active option in 2.0.
2011-01-13 14:01:38 -05:00
Scott González
b5b8cefcb0
Accordion: Reduced valid active options to numbers and falsey. Added compatibility layer for previously allowed values.
2011-01-13 08:51:09 -05:00
Alex Dovenmuehle
497ec8588c
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
2011-01-12 21:43:53 -05:00
Scott González
c1cc00f609
Position: Fixed calculation of collision dimensions. Fixes #6812 - Position: Collision detection fails on the right side in Internet Explorer.
2011-01-12 08:43:18 -05:00
Scott González
368af59137
Accordion: Handle invalid values for the active option.
2011-01-11 21:24:41 -05:00
Scott González
8b23483c0b
Accordion: First pass at deprecating the activate method. Renamed _clickHandler to _eventHandler and removed extraneous parameter. Updated all tests to use the option methods instead of the activate method.
2011-01-11 20:53:31 -05:00
Alex Dovenmuehle
b6ed9328ef
Accordion: Deprecated icons.headerSelected in favor of icons.activeHeader. Fixes #6834 - Accordion: Change icons.headerSelected to icons.activeHeader.
2011-01-11 15:38:47 -05:00
Scott González
04667b1518
Dialog: Fixed creation of close button in IE.
...
Thanks dkiselev.
2011-01-11 14:34:17 -05:00
Scott González
dd89ea5ff3
Accordion: Start the accordion animation before changing classes. Fixes #6720 - Accordion: ol numbering bug.
...
Thanks Tony Ross.
2011-01-11 13:20:50 -05:00
Saji
cce7dbe8f2
Datepicker: Added Malayalam translation. Fixes #6822 - Datepicker: Add i18n translation for Malayalam.
2011-01-08 01:39:27 +05:30
jzaefferer
0479ab6af6
Merge remote branch 'origin/tooltip'
...
Conflicts:
demos/autocomplete/combobox.html
demos/index.html
tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19
Merge remote branch 'origin/menu'
...
Conflicts:
demos/autocomplete/categories.html
demos/autocomplete/combobox.html
demos/autocomplete/custom-data.html
demos/autocomplete/default.html
demos/autocomplete/folding.html
demos/autocomplete/multiple-remote.html
demos/autocomplete/multiple.html
demos/autocomplete/remote-jsonp.html
demos/autocomplete/remote-with-cache.html
demos/autocomplete/remote.html
demos/autocomplete/xml.html
demos/button/splitbutton.html
demos/index.html
tests/visual/menu/nested.html
themes/base/jquery.ui.autocomplete.css
ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
jzaefferer
2c89e9587e
Merge remote branch 'origin/spinner'
2010-12-22 17:36:41 +01:00
Max Schnur
727d00dec8
Dialog: Modified close button binding to use event.preventDefault() instead of return false. Fixes #6766 - Dialog: Clicks on close button don't bubble.
2010-12-20 09:00:28 -05:00
MaxPower15
e104f6cfa0
Tabs: Use event.preventDefault() instead of return false. Fixes #6765 - Tabs: Use event.preventDefault() instead of returning false.
2010-12-20 08:50:23 -05:00
Xavi
956697bfca
All: Use .toggleClass() instead of conditionally using .addClass() and .removeClass(). Fixes #6764 - Use toggleClass instead of [ bool ? 'addClass' : 'removeClass' ].
2010-12-19 16:52:22 -05:00
Scott González
d6edba5a89
Accordion: Move code for deprecated height options into an extension at the bottom of the plugin.
2010-12-19 16:38:15 -05:00
Scott González
32945202da
Accordion: Don't include the height of absolute/fixed positioned siblings when calculating size for heightStyle: fill.
2010-12-19 16:22:26 -05:00
Scott González
75b94a1c12
Accordion: Handle changes to deprecated options: autoHeight, clearStyle, fillSpace.
2010-12-19 16:19:54 -05:00
Scott González
e0ae1929a0
Merge remote branch 'Adovenmuehle/master' into accordion-height
2010-12-19 16:14:13 -05:00
Alex Dovenmuehle
94a1786d56
Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings()
2010-12-17 21:38:29 -05:00
Scott González
c614889b30
Dialog: Coding standards.
2010-12-17 19:53:22 -05:00
Scott González
08422d69da
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-17 11:15:17 -05:00
Scott González
0d0c86210c
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-17 10:48:17 -05:00
Alex Dovenmuehle
490792be6a
Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle
2010-12-16 22:55:59 -05:00
Scott González
6731b0e2d6
Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7.
2010-12-14 09:02:00 -05:00
Kevin Dalman
2084549344
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-13 13:02:31 -05:00
Scott González
f73d421753
Accordion: Split out navigation options into an extension. Fixes #5869 - Accordion: Deprecate navigation options.
2010-12-11 15:57:49 -05:00
Scott González
ca0ac5a64f
All: Remove workaround for .offset() setter bug from older versions of jQuery.
2010-12-11 15:19:25 -05:00
Scott González
9681b1fd7e
All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains.
2010-12-10 15:13:10 -05:00
Scott González
162364fae4
Tabs: Removed rotate method. Fixes #5939 - Tabs: Remove rotation.
2010-12-10 15:06:22 -05:00
Alex Dovenmuehle
f54747b302
Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class.
2010-12-10 14:54:50 -05:00
Scott González
0cc1a0c030
Position: Use $.isWindow()
2010-12-10 14:34:21 -05:00
Scott González
b42125af43
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
2010-12-10 14:31:36 -05:00
Scott González
9ad2a4b1cc
Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-12-10 14:11:20 -05:00
Scott González
0e15f573d6
Revert "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 reverts commit 22671ad4f8
.
2010-12-10 13:42:29 -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
jzaefferer
1fd34199ef
Tooltip: Seperate restoring title attribute from assigning current-variable, in case currentTitle is undefined.
2010-12-03 18:14:20 +01: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
jzaefferer
0d0ec376e3
Spinner: Introduce page option to configure page size. Use that for timespinner demo to spin minutes on cursor up/down, hours on page up/down.
2010-12-01 23:28:05 +01: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
jzaefferer
56f842cee0
Spinner: Move aria-attributes to the focusable element of the widget
2010-11-30 13:44:52 +01:00
jzaefferer
285c991b72
Spinner: Fix crlf to lf line endings.
2010-11-30 13:43:43 +01:00
jzaefferer
9ef5cd02fa
Spinner: Use inline-element for better inline-block support. Removed float:left from input to fix input focussing in IE6.
2010-11-30 13:41:54 +01: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
jzaefferer
2c4d4180c3
Tooltip: Update license header.
2010-11-20 15:43:13 +01:00
jzaefferer
2a226f6e63
Menu: Update license header.
2010-11-20 15:42:44 +01:00
jzaefferer
bd3d324572
Spinner: Update license header.
2010-11-20 15:39:40 +01: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
jzaefferer
ecc0d0e74d
Menu: Implemented new (experimental) ARIA based on discussions on the jquery-a11y list.
2010-11-16 20:35:08 +01: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
jzaefferer
9949fa4d76
Menu: Good enough
2010-10-28 19:24:51 +02:00
jzaefferer
8959057ecc
Menu: Further refactoring of next/previousPage
2010-10-28 19:22:57 +02:00
jzaefferer
c55977d2ef
Menu: Refactored next/previousPage logic and activate-scrolling, improved much!
2010-10-28 19:15:27 +02:00
jzaefferer
184ad699df
Menu: Refactored menu to use .first()/.last() instead of :first/:last whereever possible
2010-10-28 18:38:40 +02:00
jzaefferer
1bd57c7421
Menu: Effing coding standards.
2010-10-28 18:12:52 +02:00
jzaefferer
6b3eead894
Menu: Use event delegation for mouseover/out events, instead of binding to menu items directly
2010-10-28 18:11:55 +02:00
jzaefferer
a1eb5f4592
Spinner: Make sure that options.value and input.val() are in sync
2010-10-28 17:45:34 +02:00
jzaefferer
23157be9c3
Spinner: Refactored reading htlm5 attributes option init
2010-10-28 17:32:01 +02:00
jzaefferer
78872dca42
Spinner: Improved mousewheel event handling
2010-10-27 17:45:32 +02:00
jzaefferer
d91cd61f79
Spinner: More refactorings and cleanups, and heavy improvement on the incremental-logic, including a delay of 500ms after the first increment and before continous increments
2010-10-27 16:38:00 +02:00
jzaefferer
48a5977d33
Tooltip: Implementing event delegation support.
2010-10-26 17:07:22 +02: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
jzaefferer
9556eccc0b
Tooltip: Update _init to _create
2010-10-26 14:41:14 +02:00
jzaefferer
bd22613af7
Tooltip: Removing application role, should be set on application level
2010-10-26 14:40:48 +02:00
jzaefferer
8b4245ac7e
Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead
2010-10-26 14:32:03 +02: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
jzaefferer
720e9d383c
Slider: Cleanup public methods
2010-10-26 12:56:40 +02:00
jzaefferer
30d431b08a
Slider: Improve destroy method
2010-10-26 12:53:34 +02:00
jzaefferer
f667bb3c8d
Slider: Some more refactoring and cleanup
2010-10-26 12:44:32 +02:00
jzaefferer
2df094527e
Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite.
2010-10-26 12:14:45 +02:00
jzaefferer
e442dd3528
Slider: Simplifying mousewheel binding, remove Opera workaround
2010-10-26 10:54:28 +02:00
jzaefferer
8da1a75177
Spiner: Tune mousewheel spinning
2010-10-26 10:36:46 +02:00
jzaefferer
0e7bef4401
Slider: Removing dir option. Implementation caused more damage then being useful - will eventually implement RTL support in all widgets.
2010-10-25 18:10:07 +02:00
jzaefferer
44ca830ee8
Slider: More codecleanup. Inlining defaults for min/max, removing page (use 10*step instead), removing mouseWheel (just use when available)
2010-10-25 18:06:26 +02:00
jzaefferer
299d5c88b8
Spinner: Fix value option initalization
2010-10-25 17:32:08 +02: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
jzaefferer
1be2a79076
Spinner: More cleanup
2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6
Spinner: Some code and test cleanup
2010-10-24 15:52:26 +02:00
jzaefferer
eebf8c31ff
Using button widget for the spinner buttons. Can still use some improvements, dropping custom theme stuff in favor of button styles.
2010-10-23 02:06:25 +02:00
jzaefferer
bc3d283d2c
Replaced hexadecimal demo with decimal demo. Updated that and the currency demo (previously donation) to use globalization plugin with a select for three different cultures (probably more to come). Updated spinner widget to use Globalization when available, replacing all number formatting related options with a single numberformat option.
2010-10-23 01:51:12 +02: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
jzaefferer
f7d8a1ba57
Porting old spinner implementation to 1.8, dropping some baggage.
2010-10-22 06:16:12 +02: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
jzaefferer
732a485676
Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton.
2010-10-21 21:03:48 +02: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
Scott González
3b38025ced
Effects: Jump to final state and execute callbacks when $.fx.off is set to true. Fixes #6131 - Dialog breaks when $.fx.off. Partial fix for #5512 - jQuery.fx.off and effect on jQuery UI Effects.
2010-10-04 14:52:06 -04:00
jenters
c3145b691b
Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs
2010-10-04 10:40:27 -04:00
John Firebaugh
e66cdfcf59
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:18:46 -04:00
Scott González
c090802cc1
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
...
This reverts commit 67b1db14c9
.
Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:15:40 -04:00
Scott González
d7670b9407
Dialog: Don't pass props to jQuery when creating buttons.
...
Thanks jitter.
2010-10-01 11:19:24 -04:00
Scott González
cd7f10d480
Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not type="button".
2010-09-30 10:17:52 -07:00
Scott González
a2ddfd5107
Widget: Added create event. Fixes #6126 - Widget: Add create event.
2010-09-29 17:36:45 -07:00
Scott González
e8e3168a39
Dialog: Batch size-related option settings.
2010-09-27 15:15:20 -04:00
Scott González
9d88b565d6
Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method.
2010-09-27 11:21:09 -04:00
Scott González
0b6710aed7
Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end.
2010-09-27 10:44:04 -04:00
Scott González
adcafce7a2
Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
...
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
Scott González
dda7bcb638
Autocomplete (Menu): Only traverse through .ui-menu-item elements for paging. Fixes #6029 - Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click.
2010-09-27 09:10:18 -04:00
Scott González
0ccc78698b
Autocomplete: Handle IE firing focus events asynchronously. Fixes #6109 - Autocomplete Change event does not fire in IE.
2010-09-24 16:49:10 -04:00
Scott González
23b569f46e
Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization.
2010-09-24 08:58:18 -04:00
Daniel Steigerwald
3f9b953117
Widget: Use charAt instead of substring for private method check.
2010-09-20 15:03:42 -04:00
Scott González
9e19747209
Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2.
2010-09-20 14:56:17 -04:00
Scott González
47e312b238
Core: Only use mousedown to prevent text selection in browsers that don't support selectstart. Fixes #6080 - Core: disableSelection() disables select elements in Chrome.
2010-09-20 11:53:51 -04:00
Jorge Barreiro
f04a25f9bf
Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician localization.
2010-09-20 10:59:01 -04:00
Scott González
ce08df3bdc
Effects: Fixed .show(), .hide(), .toggle() to accept a hash of options again. Fixes #6078 - Effects: Passing an object for parameters no longer works. Fixes #6067 - Dialog show/hide animations do not work.
2010-09-20 10:07:45 -04:00
Lim Chee Aun
a936eb3c09
Datepicker: Hightlight the curerent date, not the selected date. Fixes #5984 - Datepicker showing multiple months highlights selected day in all of them
2010-09-20 09:49:11 -04:00
Scott González
d380099116
Autocomplete: Properly handle non-item clicks inside the suggestion list. Fixes #6052 - Autocomplete suggestion list does not close properly.
2010-09-20 09:27:32 -04:00
Scott González
98a98a05d1
Dialog: Don't call draggable.destroy if we're not currently draggable. Fixes #6069 - DIALOG windows 1.8.5 draggapble problem.
2010-09-20 09:16:29 -04:00
AndrewNewcomb
590e03cc32
datepicker: changed parseDate to be case insensitive. Fixed #6036 - datepicker: parseDate is case sensitive.
2010-09-09 21:54:24 +08:00
Scott González
9a2dafa948
Core: Avoid layout bug in IE with minHeight support test.
2010-09-07 14:06:07 -04:00
Christopher McCulloh
8f22b2b6b3
Tabs: Prevent opening a tab while panels are being animated. Fixes #4771 - Tabs: Occassionally displays multiple tabs when clicked with rotate control using opacity toggle fx.
2010-09-07 13:20:41 -04:00
Scott González
409f5d1ba0
Core: Improvements to minHeight support test. Thanks jdalton.
2010-09-07 12:15:34 -04:00
Scott González
52e543a637
Dialog: If the browser doesn't support minHeight, use height to set the minHeight. Fixes #6027 - Dialog: minHeight isn't properly handled on init in IE6.
2010-09-07 09:33:09 -04:00
Scott González
99694e6fec
Core: Added $.support.minHeight. Fixes #6026 - Core: Add jQuery.support.minHeight.
2010-09-07 09:28:22 -04:00
Scott González
1b31765655
Tabs: Handle empty hrefs for IE6/7 as invalid. Fixes #5755 - Tabs: tabs with an empty href are enabled in IE6/7.
2010-09-03 13:35:05 -04:00
Scott González
78540e2c0c
Tabs: Allow non-latin characters for ids. Fixes #4581 - title attribute for remote tabs does not support foreign languages.
2010-09-03 11:35:10 -04:00
Ben Hollis
4b9d5d1b5b
Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account.
2010-09-03 10:38:44 -04:00
Scott González
0a0a39f896
Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4.
2010-09-03 09:49:29 -04:00
Scott González
de02aa34a8
Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event.
2010-09-02 08:35:40 -04:00
Scott González
5de8ced5d9
Core: Refactored .disableSelection() and .enableSelection().
2010-09-01 09:49:18 -04:00
Scott González
95a34593f9
Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option.
2010-08-31 10:17:53 -04:00
jzaefferer
dea2f8a7fc
Autocomplete: Store term when selecting an item to prevent another search triggered before blur. Fixes #5591 - Home and End keys trigger search
2010-08-31 14:20:56 +02:00
Scott González
79ee6f0d7b
Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated.
2010-08-27 18:02:11 -04:00
Scott González
af9864dcc4
Dialog: Don't return true when we don't want to cancel events. Fixes #3523 - Dialog: onclick return value ignored.
2010-08-27 16:49:07 -04:00
Scott González
1e28040cf3
Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-08-27 14:48:17 -04:00
Scott González
52a052be79
Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1.
2010-08-27 13:34:14 -04:00
Scott González
2acfde9e5e
Position: Created center variable for better minification. Fixes #5964 - Combine horizontalDefault and verticalDefault to one variable - possibly named center.
2010-08-27 13:19:51 -04:00
Scott González
16e93d5189
Core: Fixed .disableSelect() and .enableSelect() in all browsers. Fixes #5723 - disableSelection() doesn't work cross-browser.
2010-08-27 12:00:59 -04:00
Scott González
a3d9a91661
Core: Re-ordered functions.
2010-08-27 11:52:03 -04:00
Scott González
da2be6a2af
Autocomplete: Abort existing ajax requests when running new searches.
2010-08-24 21:41:34 -04:00
Scott González
f115b48d2b
Autocomplete: Don't handle remote data if it's not the most recent request. Fixes #5982 - Autocomplete: Race condition causes incorrect suggestions.
2010-08-24 09:14:44 -04:00
Scott González
1cca969c3c
Widget: Refactored code for re-initialization to reduce file size.
2010-08-23 15:35:49 -04:00
Scott González
2838c11ea8
Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements.
2010-08-18 14:51:30 -04:00
Scott González
9060bf3d09
Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible.
2010-08-18 10:13:57 -04:00
Ben Hollis
7692b6e65f
Position: Fix flip collision. Fixes #5932 - Position: flip collision handling is wrong in some cases.
2010-08-11 23:33:49 -04:00
ph-ausseil
03eea0e39d
Tabs: Ignore sublists. Fixes #5893 - Tabs: ability to contain sublists.
2010-08-11 23:06:41 -04:00
Scott González
2398f6d23a
Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan localization for ui.datepicker.
2010-08-11 08:33:46 -04:00
Robson Braga Araujo
3af1f6c1ce
Autocomplete: changed menu activated function to check if the offset is greater than or equal the height. Fixed #5923 - autocomplete: Scrolling with the keyboard sometimes does not show the item (Chrome)
2010-08-11 08:21:09 +08:00
Robson Braga Araujo
9a4eecdf85
Autocomplete: changed the search function to always store the last term that was entered by the user. Fixed #5922 - autocomplete: Search not triggered if the first letter is the same as the first letter of a previous erased content
2010-08-11 08:21:08 +08:00
Scott González
04347e5a0d
Fixed broken whitespace characters and missing semicolon. Fixes #3921 - Problem with JavaScriptPacker.
2010-08-10 18:16:44 -04:00
malsup
2b9d684d1a
Effects: Fix show/hide/toggle test for using core functions. Fixed : #5456 - show() function broken with "normal" speed
2010-08-09 06:13:11 +08:00
Scott González
de266a1275
Autocomplete: Handle clicks outside the autocomplete after scrolling the results (which causes the body to gain focus). Fixes #5903 - Autocomplete doesn't close after scrolling.
2010-08-05 08:51:54 -04:00
Scott González
ed07f0a056
Autocomplete: Don't reset text field value on blur unless it will actually change the value. Fixes #5900 - Autocomplete: mousing over menu option replaces text box contents, moves caret.
2010-08-04 13:26:42 -04:00