Commit Graph

3263 Commits

Author SHA1 Message Date
Scott González
93916b4d01 Accordion: Added note about using ui-accordion-header-active class. 2011-02-08 09:21:35 -05:00
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
ed49033700 Accordion: Updated demos to use the new API. 2011-02-03 14:14:13 -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
a4da197a91 Accordion: Added tests for custom header option. 2011-02-03 10:11:00 -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
effbb2c0ec Update wigdet test for previous change. No stored intance via data for
element == instance.
2011-01-31 16:37:50 +01: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
fe6990e104 Datepicker - Fixed incorrect semi-colon that should have been a comma. Fixes #6916 - Datepicker date range demo: syntax glitch. 2011-01-30 09:39:18 -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
06d61f5f23 Accordion: More tests. 2011-01-24 22:40:03 -05:00
Scott González
63c72aba0d Tests: Fixed erroneous refernece to accordion. 2011-01-24 22:37:57 -05:00
Scott González
3e370a4467 Dialog: Use ._focusable() and ._hoverable(). 2011-01-24 21:58:40 -05:00
Scott González
0ef4b4f28a Widget: Added tests for ._hoverable() and ._focusable(). 2011-01-24 21:54:50 -05:00
Scott González
4a384c63ff Widget tests: Remove workaround for old QUnit bug. 2011-01-24 21:31:12 -05:00
Scott González
8034cc3803 Widget tests: Cleanup. 2011-01-24 21:22:40 -05:00
Scott González
2e214f984d Accordion test: Fixed an icon test. 2011-01-24 21:00:39 -05:00
Scott González
25f420eb9a Accordion tests: Cleaned up deprecated tests. 2011-01-24 20:35:58 -05:00
Scott González
5ed1046a4a Accordion tests: Cleanup. 2011-01-24 19:20:09 -05:00
Scott González
ecc0ef53de Accordion tests: Getting really ghetto in an attempt to get deprecated tests to run in TestSwarm. 2011-01-24 16:00:34 -05:00
Scott González
140d90a9a4 Accordion: Test cleanup. 2011-01-24 15:45:29 -05:00
Scott González
3ce23223ae Tests: Updated QUnit. 2011-01-24 14:47:03 -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
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