Commit Graph

1707 Commits

Author SHA1 Message Date
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