Commit Graph

854 Commits

Author SHA1 Message Date
Scott González
ba9bd20c0d Accordion tests: Don't use deprecated assertion methods. 2011-06-13 10:54:47 -04:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
Jörn Zaefferer
433ed6eecf Merge remote branch 'davidmurdoch/ticket-5645' 2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Scott González
ab703d75f6 Tooltip: Added tests for ui object in open and close events. 2011-05-30 18:51:29 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
666b53a90c Tooltip tests: Refactored and added some tests. 2011-05-28 16:20:46 -04:00
Scott González
302ad626bf Tooltip: Added some tests. 2011-05-28 15:43:22 -04:00
Scott González
e77fcaa6eb Tests: Updated version check. 2011-05-28 15:42:55 -04:00
Scott González
73c6f349fc Tooltip tests: Coding standards. 2011-05-28 13:30:00 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
gnarf
5fb2468f9f Unit Tests: Cleaning up some code in effects unit tests, removing magic numbers used for animation durations 2011-05-16 21:41:50 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
Scott González
a88d55e60e Tabs: Enable test suites for TestSwarm. 2011-05-16 14:42:31 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
gnarf
c08cf8ec6c Unit Tests: adding unit test for #7356 2011-05-12 21:09:37 -04:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
Scott González
7e2a704a07 Merge pull request #260 from gnarf37/effects-unit
Unit Tests: effects: adding some animateClass tests
2011-05-12 17:41:02 -07:00
David Murdoch
e31d707d93 The qunit-fixture were preventing the results from being clicked. Make the results appear on top of the qunit-fixture 2011-05-12 21:07:09 +00:00
David Murdoch
c9c6908434 Another whitespace fix 2011-05-12 20:51:49 +00:00
David Murdoch
dc66f02601 Add tests for position's within 2011-05-12 20:50:16 +00:00
David Murdoch
17be87f34c Whitespace fix 2011-05-12 20:48:01 +00:00
David Murdoch
7bca8c1004 Fix typos in original tests 2011-05-12 20:44:24 +00:00
gnarf
e4204b129d Unit Tests: effects: adding some animateClass tests 2011-05-12 10:22:49 -05:00
Doug Neiner
50a4186ef9 Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl 2011-05-12 01:51:05 -04:00
Scott González
8b8f5bff76 Merge pull request #242 from gnarf37/effects-unit
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Jörn Zaefferer
83424c6c33 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -04:00
Jörn Zaefferer
c17f245d98 Autocomplete: Revert fix for #7024, broke regular menu selection.
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
gnarf
27a7deebf2 Merge branch 'master' into effects-unit
Conflicts:
	ui/jquery.effects.pulsate.js
2011-05-10 16:16:34 -05:00
Scott González
85ac420a1e Tabs: Fixed select event. 2011-05-10 14:04:50 -04:00
Scott González
7fddb1c5b5 Tabs: Fixed show event. 2011-05-10 13:56:59 -04:00
kborchers
a63d23c314 Autocomplete: Added unit test to check for preventing value change when an unintended mouseover event (Firefox) is fired before blur. Proposed fix is in pull request 236 2011-05-10 09:54:13 -05:00
Scott González
ce6209b4e4 Tabs: Remvoed spinner image from tests. 2011-05-10 09:16:16 -04:00
Scott González
36fccdda14 Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option. 2011-05-10 09:15:08 -04:00
Scott González
a205c2c8b8 Tabs: Moved tests out of tickets file. 2011-05-10 08:47:00 -04:00
Scott González
bd6672d257 Tabs: Updated tests for destroy method. 2011-05-09 17:41:43 -04:00
Scott González
0f7075e281 Tabs: Added tests for beforeload event on init. 2011-05-09 17:38:34 -04:00
Scott González
6a9b789bc7 Tabs: Updated tests for disabled option. 2011-05-09 17:10:36 -04:00
Scott González
ea01e7fc50 Tabs: Added tests for event option. 2011-05-09 17:01:11 -04:00
Scott González
f53d117853 Tabs: Added test for abort method. Fixes #7133 - Tabs: Deprecate abort method. 2011-05-09 16:55:31 -04:00
Scott González
9ea6db634f Tabs: Only trigger tabsload on success. 2011-05-09 16:55:31 -04:00
David Petersen
0adeb9b0e1 Tabs: Add tabsload event tests. 2011-05-09 16:55:31 -04:00
Scott González
7157af2550 Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-05-09 15:04:01 -04:00
Scott González
9549686cb3 Tabs: Added test for ajaxOptions. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
Thanks gnarf for the unit test idea.
2011-05-09 14:45:57 -04:00
Scott González
5ae44f8a3b Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option. 2011-05-09 12:52:00 -04:00
Scott González
0546cd57bb Tabs: Added tests for idPrefix, tabTemplate, panelTemplate. Fixes #7139 - Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options). 2011-05-09 11:31:01 -04:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09:00
gnarf
4dcfeee8d5 Added some better queue order testing 2011-05-04 01:54:47 -05:00
gnarf
d61e0656c5 Merge branch 'master' into effects-unit 2011-05-04 01:38:41 -05:00
Scott González
cbce3585bc Tabs: Added tests for deprecated select method. Fixes #7138 - Tabs: Deprecate select method. 2011-05-03 07:48:08 -04:00
Scott González
75f7a786ae Tabs: Clean up some tests. 2011-05-03 07:14:33 -04:00
Scott González
92bcb2504f Tabs: Fixed back-compat for selected option. Fixes #7135 - Tabs: Rename selected option to active. 2011-05-03 07:14:19 -04:00
Scott González
45c727d75e Tabs: Fixed enabled and disabled methods. Fixes #7142 - Tabs: Deprecate enable and disable events. 2011-05-03 06:31:12 -04:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Jörn Zaefferer
b2b7d9a8b0 Tooltip: Fix (most) of the unit tests. Not all issues resolved, but
enough for testswarm results to be useful.
2011-05-02 21:04:56 +02:00
Jörn Zaefferer
9ea5b5d4e5 Fix menu unit tests (regression fron Hans' branch) 2011-05-02 20:35:58 +02:00
Jörn Zaefferer
5c47098829 Add simple error handling for domEqual method (was failing for menu, output not helpful). 2011-05-02 20:35:49 +02:00
gnarf
ec5aeb1b15 Unit Tests: Adding some basic unit tests for effects.* modules 2011-05-01 06:23:19 -05:00
gnarf
4a4d7e4b73 Merge branch 'master' into effects-unit 2011-05-01 05:12:17 -05:00
Scott González
468e66ae62 Tabs: Added tests for add and remove events. 2011-04-28 22:12:59 -04:00
Scott González
1bacdec6be Tabs: Cleaned up add and remove methods. 2011-04-28 21:35:04 -04:00
Scott González
09faa7c9fa Tabs: Added more tests for refresh method and changed the implementation a bit. 2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd Tabs: Fix issues with refresh method, add refresh method tests 2011-04-28 13:13:42 -04:00
Scott González
d819cdd3a9 Tabs: Fixed disable method and cleaned up tests for enable and disable methods. 2011-04-28 12:04:08 -04:00
David Petersen
0e7769c669 Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called 2011-04-28 09:37:56 -04:00
Scott González
325ee6e871 Widget: define a null default for the create callback. 2011-04-25 14:04:30 -04:00
Scott González
c4c36e557e Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults. 2011-04-25 08:11:52 -04:00
Scott González
4547da1ba5 Accordion tests: Coding standards. 2011-04-15 11:29:26 -04:00
Scott González
ae8963f054 Tabs: Rewrote some ticket tests and moved to approriate file. 2011-04-15 11:04:49 -04:00
Scott González
d3e10de6bc Tabs: Better tests for tab state. 2011-04-15 08:53:05 -04:00
Scott González
bc65675330 Tabs: Fixed issues with collapsible and active options. 2011-04-11 13:49:22 -04:00
Scott González
ccac8cd492 Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active. 2011-04-11 10:08:32 -04:00
Richard Worth
7272f3bdef Progressbar: Added unit test for #7231 - valueDiv should be hidden when value is at 0% 2011-04-09 14:53:15 -04:00
Scott González
d573a92beb Tabs: Added tests for aria-controls attribute being assigned on init. 2011-04-07 13:53:20 -04:00
Scott González
bc6a28ee03 Tabs: Cleaned up _tabId() implementation. 2011-04-05 21:39:02 -04:00
Scott González
168ab6656d Tabs: Updated test for deprecated length method. 2011-04-05 20:07:27 -04:00
Scott González
7aad37bfd5 Tabs: Better handling of active option and various cleanup. 2011-04-05 16:53:52 -04:00
Scott González
ff84d58444 Tabs: Pass appropriate data for beforeLoad event. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-04-05 11:28:05 -04:00
Scott González
995518c10f Tabs: cleanup. 2011-04-04 17:06:13 -04:00
Scott González
1fc91f90d0 Tabs: Pass appropriate data for activate event. Fixes #7137 - Tabs: Rename show event to activate. 2011-04-04 15:28:33 -04:00
Scott González
316d0af8fb Accordion: Added test to ensure activate event is not triggered if beforeActive is prevented. 2011-04-04 15:26:32 -04:00
Scott González
e19d8261c1 Tabs: Properly handle switching from active: false. 2011-04-04 14:27:38 -04:00
Scott González
9a1d8891b7 Accordion: Removed unnecessary test. 2011-04-04 12:00:04 -04:00
Scott González
80b6de1b78 Accordion: Pass original event in beforeActivate event. 2011-04-04 11:53:19 -04:00
Scott González
01b92ff1a0 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:43:58 -04:00
Scott González
af04a89df7 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:33:09 -04:00
Scott González
632e6c7618 Tabs: Pass appropriate data for beforeActivate event. Fixes #7136 - Tabs: Rename select event to beforeActivate. 2011-04-04 11:22:32 -04:00
Scott González
fdedf1616d Tabs: Test cleanup. 2011-04-04 10:11:19 -04:00
Scott González
fd1fd618cc Tests: Renamed files for deprecated tests now that TestSwarm is setup to properly handle them. 2011-04-04 09:19:20 -04:00
Scott González
275897e731 Accordion tests: lowercase doctype. 2011-04-04 09:12:08 -04:00
Scott González
255a8dbba5 Tests: Allow overriding enable and disable methods to add custom logic. 2011-03-29 20:38:58 -04:00
gnarf
d6379d11e3 unit tests: updating unit test boilerplate for effects 2011-03-29 15:57:42 -05:00
gnarf
0c009730ce unit tests: adding an empty effects unit test page 2011-03-29 15:32:48 -05:00
Scott González
fa13c4a602 Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui into petersendidit-tabs 2011-03-29 15:40:28 -04:00
David Petersen
e9ae04a394 Tabs: CSS Consistency Updates. Fixes #7146 Tabs: CSS Consistency Updates 2011-03-29 07:44:01 -04:00
David Petersen
cb0588f2dd Tabs: Deprecate cookie option. Fixes #7144 Tabs: Deprecate cookie option 2011-03-28 22:46:31 -04:00
David Petersen
c6a6ef5ee6 Tabs: Deprecate select method. Fixes #7138 Tabs: Deprecate select method 2011-03-28 22:28:59 -04:00
Scott González
2197c61f1f Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable. 2011-03-28 17:34:04 -04:00
Scott González
d236c0d6e1 Draggable: Removed empty tickets test file. 2011-03-28 12:41:29 -04:00
Scott González
43ac0578c5 Droppable: Removed empty tickets test file. 2011-03-28 12:41:07 -04:00
Scott González
3a5fe07c2e Progressbar: Removed empty tickets test file. 2011-03-28 12:40:38 -04:00
Scott González
c7c8a80069 Resizable: Removed empty tickets test file. 2011-03-28 12:40:17 -04:00
Scott González
41fb07d28c Selectable: Removed empty tickets test file. 2011-03-28 12:39:55 -04:00
Scott González
3206386bdf Slider: Removed empty tickets test file. 2011-03-28 12:38:32 -04:00
Scott González
78b17f9d76 Widget: Moved tests out of _tickets into _core. 2011-03-28 12:37:08 -04:00
Richard Worth
6a0cdaa495 Merge branch 'master' of github.com:jquery/jquery-ui 2011-03-28 11:20:21 -04:00
Scott González
ec0a9cc454 Removed empty ticket test files. 2011-03-28 11:20:03 -04:00
Scott González
ec4825535d Accordion: Removed empty ticket test file. 2011-03-28 11:15:29 -04:00
Richard Worth
b5e67861bb Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true 2011-03-28 11:13:53 -04:00
David Petersen
8b0c3618bd Tabs: Rename select event to beforeActivate. Fixes #7136 Tabs: Rename select event to beforeActivate 2011-03-27 17:02:58 -04:00
David Petersen
787efd307a Tabs: Rename show event to activate. Fixes #7137 Tabs: Rename show event to activate 2011-03-27 16:55:05 -04:00
David Petersen
9a00fd4c5e Tabs: Rename selected option to active. Fixes #7135 Tabs: Rename selected option to active 2011-03-27 16:42:30 -04:00
David Petersen
c363019590 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) Fixes #7139 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) 2011-03-27 16:42:19 -04:00
David Petersen
1e2d3145ff Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels 2011-03-27 14:56:20 -04:00
David Petersen
8b89febbbb Tabs: split up _tabify, create refresh method. Fixes #7140 Tabs: Add refresh method 2011-03-26 21:02:17 -04:00
David Petersen
03eb54b379 Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method 2011-03-26 21:02:17 -04:00
David Petersen
e378876918 Tabs: Deprecate add and remove methods Fixes #7141 Tabs: Deprecate add and remove methods 2011-03-26 21:02:13 -04:00
David Petersen
e5f081bc1c Tabs: Deprecate enable and disable events. Fixes #7142 Tabs: Deprecate enable and disable events 2011-03-26 21:00:45 -04:00
David Petersen
e7971c9077 Tabs: Deprecate spinner option. Fixes #7134 Tabs: Deprecate spinner option 2011-03-26 21:00:45 -04:00
David Petersen
aeaaf93ebb Tabs: Add beforeload event; deprecate ajaxOptions and cache options. Fixes #7131 Tabs: Add beforeload event; deprecate ajaxOptions and cache options 2011-03-26 21:00:34 -04:00
Scott González
6fc98deef0 Widget: Allow setting individual properties of deep options. Fixes #7035 - Widget: Extend .option() to set partial nested options. 2011-03-24 09:21:53 -04:00
Scott González
b85e11564a Accordion: Removed static test pages. Added unit tests for dl markup structure. 2011-03-23 10:07:09 -04:00
Scott González
aaa21ddb0c Accordion tests: Fixed indentation. 2011-03-23 09:51:42 -04:00
Scott González
f77224055a Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack. 2011-03-22 14:35:18 -04:00
Scott González
e7991e33f3 Autocomplete: Added response event. Fixes #6777 - Autocomplete callback when search is complete. 2011-03-22 14:07:49 -04:00
Scott González
de5a98e7bc Position: Split out tests for deprecated offset option. 2011-03-22 13:25:28 -04:00
Scott González
221dcd7027 Position: Coding standards. 2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
Scott González
923b5b67b9 Merge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui 2011-03-21 11:30:11 -04:00
David Petersen
710d7620e7 Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386 2011-03-21 09:18:19 -04:00
jzaefferer
93fd447493 Use QUnit.push instead of assertion method for custom assertions to get
correct filename and line number output
2011-03-20 15:56:48 +01:00
Richard Worth
9b3badea6c Autocomplete unit test: corrected name and argument order of equal() call in autoFocus test function 2011-03-15 12:55:16 -04:00
Richard Worth
c1a0f2bf6c Autocomplete: refactored unit tests for autoFocus option 2011-03-15 09:36:36 -04:00
Richard Worth
56b7ec134d Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 08:42:28 -04:00
Richard Worth
2f5eadeb8f Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true 2011-03-15 05:48:31 -04:00
Richard Worth
09215ef2cd Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 05:39:56 -04:00
Richard Worth
056cab82d8 Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected 2011-03-15 04:30:36 -04:00
ddstreet
0b30a1d450 Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases 2011-03-11 10:52:13 -05:00
Richard Worth
58480d81d3 Unit tests: removed no longer utilized tickets.js files for Menu and Tooltip 2011-03-08 14:22:48 -05:00
Jay Merrifield
f9996682b5 Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs. 2011-03-08 09:42:10 -05:00
Douglas Neiner
15c97e0b76 Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing 2011-03-03 09:37:16 -05:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
Scott González
ffb96bc972 Widget tests: Work around a bug in jQuery core in IE 9rc. 2011-02-26 13:31:45 +01:00
jzaefferer
48f060ac25 Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
that mousewheel scrolling actually works fine in IE6.
2011-02-26 12:10:52 +01:00
jzaefferer
9ac6bde8a9 Accordion: Improve unit test to get consistent results on mobile devices 2011-02-26 11:48:56 +01:00
jzaefferer
3d3b5dd1e7 Position: Test for window scrollTop support and run scrolled window test
only when support is there. Should exclude mobile devices, getting the
position testsuite to produce more useful results.
2011-02-26 11:25:41 +01:00
jzaefferer
baf28d2c9d Menu: Cleanup contextmenu demo and fix aria unit test to ignore empty
string values
2011-02-25 18:58:44 +01:00
jzaefferer
540b78d920 Adding a domEqual assertion to our testsuite for more sane DOM
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00
jzaefferer
b65583a029 Menu: Cleanup unit test page 2011-02-25 11:16:16 +01:00
Scott González
bed6def5c0 Autocomplete tests: Fixed various bugs in various versions of IE. 2011-02-24 22:55:24 +01:00
jzaefferer
b8f3e5b1c0 Menu: Fix testsuite, new option 2011-02-24 21:29:48 +01:00
jzaefferer
38cfcfffe9 Menu: Update autocomplete to use deactivate and check for focus class 2011-02-24 12:05:20 +01:00
Scott González
50958718c2 Autocomplete: Added support for contenteditable elements. Fixes #6914 - Autocomplete: Support contenteditable. 2011-02-24 10:24:32 +01:00
jzaefferer
3f353cc8fb Menu: Update unit test to use focus instead of activate method 2011-02-24 10:07:24 +01:00
jzaefferer
c37637ee99 Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use 2011-02-23 12:46:13 +01:00
jzaefferer
6597d3eafb Drop unused tests/unit/defaults.html. If any, we need to composite suite
that runs everything, not just defaults.
2011-02-23 12:39:25 +01:00
jzaefferer
1c7ab042fa Disable dialog tests on TestSwarm until we can get some running in IE6
without freezing the browser.
2011-02-21 22:26:38 +01:00
jzaefferer
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
Scott González
f70f01af9e Accordion: Handle changing the event option. Fixes #6740 - Dynamically changing accordion's event handler doesn't actually change the behaviour. 2011-02-21 16:07:59 +01:00
jzaefferer
84a4a4442d Merge branch 'master' of github.com:jquery/jquery-ui 2011-02-21 14:45:54 +01:00
jzaefferer
b107181bbb Fix datepicker tests to pass in Chrome and run faster by letting QUnit
handle the staggered proessing (renders at least once per second, faster
then rendering after each test). Disabled broken manual-entry tests
after confirming its only an issue in the test, not the impl.
2011-02-18 16:08:17 +01:00
William Kevin Manire
c94ec23b26 Widget: modified widget to throw exception on attempt to call private methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object 2011-02-16 00:28:32 -08:00
Dan Heberden
5c3dc7d48a Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object 2011-02-15 10:15:46 -08:00
David Petersen
8ef8d2d877 Tabs: Pass original event for show and select events. Fixes #5043 - Tabs: pass original event. 2011-02-15 08:56:19 -05:00
jzaefferer
c4a7f45dbc Tooltip: Added missing items test 2011-02-11 16:01:23 +01:00
jzaefferer
cfa4833fe9 Merge branch 'master' of github.com:jquery/jquery-ui 2011-02-11 15:44:56 +01:00
jzaefferer
e69839ae6a Menu: Fix unit tests and set the right menu1-activedescendant attribute 2011-02-11 15:42:44 +01:00
Richard Worth
c8063f9252 Added swarminject.js for menu, spinner, and tooltip test pages. Fixes unit tests to run correctly on swarm.jquery.org 2011-02-11 09:40:10 -05:00
Scott González
6096aed0a3 Widget: Fixed super methods with deep inheritance chains. 2011-02-10 21:25:50 -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
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
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
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
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
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
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
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
90a5906af5 Renamed glob.js to jquery.global.js to match actual plugin filenames. 2011-01-17 19:25:14 +01:00
Scott González
1dc4d64dd4 Spinner: Moved ARIA to input and fixed tests. 2011-01-15 08:28: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
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
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
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
16692ed5f0 Fixed references to jQuery. 2011-01-10 21:38:58 -05:00
jzaefferer
e724f585bf Fixed bad references to jQuery-1.4.4.js 2010-12-22 18:59:29 +01:00
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
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
f908281bc3 Accordion: Added test for heightStyle: fill with absolutely positioned sibling. 2010-12-19 16:26:03 -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
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
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
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
Scott González
22cf318e40 Dialog position tests: Use Math.round() instead of Math.floor(). 2010-12-03 09:14:27 -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
Phillip Barnes
ff4154bb5d Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -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
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
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -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
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
4226faed09 Datpicker: Fixed some failing tests. 2010-11-05 10:44:55 -04:00
jzaefferer
23157be9c3 Spinner: Refactored reading htlm5 attributes option init 2010-10-28 17:32:01 +02:00
jzaefferer
48a5977d33 Tooltip: Implementing event delegation support. 2010-10-26 17:07:22 +02:00
jzaefferer
bdd815e8dc Tooltip: Demo and tests update 2010-10-26 15:36:43 +02: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
8b4245ac7e Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead 2010-10-26 14:32:03 +02:00
jzaefferer
61b4b3e445 Tooltip: Unit tests cleanup 2010-10-26 14:26:53 +02:00
jzaefferer
f667bb3c8d Slider: Some more refactoring and cleanup 2010-10-26 12:44:32 +02:00
jzaefferer
134205840b Slider: Some more test suite improvements 2010-10-26 12:21:54 +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
0a1da016ff Slider: Update to latest mousewheel plugin 2010-10-26 10:53:03 +02:00
jzaefferer
299d5c88b8 Spinner: Fix value option initalization 2010-10-25 17:32:08 +02: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
af8ca4ed0e Importing spinner unit tests 2010-10-22 06:23:52 +02:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
789e7f753e Autocomplete tests: Removed reference to non-existent menu plugin. 2010-10-21 22:16:27 -04:00
Scott González
7d9d2b551f External: Updated bgiframe to 2.1.2. Fixes #6190 - Dialog demos don't work in IE9 because of bgiframe. 2010-10-19 23:05:13 -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
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
a2ddfd5107 Widget: Added create event. Fixes #6126 - Widget: Add create event. 2010-09-29 17:36:45 -07: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
0c82f7ec2c Dialog tests: Enabling in TestSwarm. 2010-09-07 12:28:36 -04:00
Scott González
0050f234a8 Dialog: Fixed test for default title. Some browsers were returning an actual non-breaking space and some were returning the string " ". 2010-09-07 09:49:58 -04:00
Scott González
d80e2236f6 Dialog: Reduced size of dialogs in height/width tests. 2010-09-07 08:58:20 -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
e5f3bfce4d Core tests: Enabled TestSwarm. 2010-09-02 11:54:40 -04:00
Scott González
0ab54d87dc Core tests: Fixed object element for focusable/tabbable tests. Fixes #4488 - :focusable and :tabbable are broken with jQuery 1.3.2. 2010-09-02 11:51:24 -04:00
Scott González
23d4eb5372 Core tests: Split .focus() test into two tests to avoid bug in IE with stop() and start(). 2010-09-02 11:14:00 -04:00
Scott González
d8c6c32b87 Core tests: Reordered some elements to avoid some bug in IE. 2010-09-02 10:38:45 -04:00
Scott González
cf545b8ff7 Position tests: Set a line-height on elements with a height less than 10px. Fixes failing tests in IE6. 2010-09-02 09:41:10 -04:00
Scott González
2365d03cef Dialog: Fixed a broken maxHeight test.
The size tests are fragile because they require the browser window to be large enough to contain the dialog.
2010-09-02 08:41:28 -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
95a34593f9 Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option. 2010-08-31 10:17:53 -04:00
jzaefferer
90345b30d8 Testsuite: Revert localhost back to swarm.jquery.org (thanks bugbegone) 2010-08-30 09:42:38 +02:00
jzaefferer
d8bee228b3 Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions 2010-08-29 17:21:39 +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
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
dd035d1123 Widget tests: Coding standards. 2010-08-26 12:05:40 -04:00
Scott González
306764ca0f Widget: Added more unit tests. 2010-08-26 11:49:07 -04:00