Commit Graph

3272 Commits

Author SHA1 Message Date
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
bc71499a50 Widget: Added tests for defaultElement and element normalization between jQuery objects, elements and selectors. 2011-01-23 19:58:31 -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
086131b937 Update to latest jquery-global plugin 2011-01-18 14:16:13 +01:00
jzaefferer
6a79c70852 Spinner: Update to latest jquery-global plugin, removing the currency
workaround.
2011-01-18 12:11:26 +01:00
jzaefferer
ca818beca5 Update to latest jquery-global plugin 2011-01-18 12:08:22 +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
jzaefferer
7608e4a1d6 Update example culture files to $.global 2011-01-17 19:36:42 +01:00
jzaefferer
ff62bdf61a Merge branch 'master' of github.com:jquery/jquery-ui 2011-01-17 19:28:49 +01:00
jzaefferer
0bbfbd431c Updated global plugin to latest version. 2011-01-17 19:26:59 +01:00
jzaefferer
90a5906af5 Renamed glob.js to jquery.global.js to match actual plugin filenames. 2011-01-17 19:25:14 +01:00
Scott González
6e84a8b8f4 Datepicker i18n: Fixed missing references. 2011-01-17 09:44:53 -05: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
68d905dd45 Autocompete tests: Added missing menu dependency. 2011-01-14 16:51:31 -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
f711e362cd Revert accidental demo change from 66606407ed. 2011-01-14 14:42:53 -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