Commit Graph

3106 Commits

Author SHA1 Message Date
David Petersen
2ca4d17982 Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass 2013-01-29 07:47:54 -06:00
Thomas Jaggi
3aa8ad0c4a Slider: Added rounded corners to range area. Fixed #9024 - Slider: Range area needs rounded corners, too 2013-01-28 16:03:42 +01:00
David Sullivan
55360eeb7e Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option 2013-01-26 11:34:51 -05:00
Scott González
c53198c209 Dialog: Allow interaction with datepickers from modal dialogs. Fixes #8989 - Dialog: Cannot change month/year in datepicker within modal. 2013-01-25 08:51:13 -05:00
David Petersen
649f105229 Dialog: Don't handle overlays on destory if there are not any. Fixed: #9004 - failed in _destroyOverlay when I destroy a modal dialog thau was never opened. Fixed: #9000 Dialog leaves broken event handler after close/destroy in certain cases 2013-01-24 13:43:02 -06:00
David Petersen
f7f165c9f8 Merge pull request #891 from petersendidit/datepicker_8994
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 -...
2013-01-23 11:50:00 -08:00
David Petersen
8f7c3e309c Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 - Datepicker: next and prev buttons are disabled when using yearRange 2013-01-23 13:41:01 -06:00
Scott González
10c873ab6c Accordion: Add panel in addition to content for create event. Fixes #8998 - Accordion: Create event uses content instead of panel. 2013-01-22 09:19:04 -05:00
Scott González
673c6558e0 Accordion: Properly set corner classes on refresh. Fixes #8995 - Accordion: Corner display issues. 2013-01-22 08:56:38 -05:00
Corey Frang
722c4bed99 Updating to jQuery Color 2.1.2 2013-01-16 11:15:16 -06:00
Dominic Barnes
176e0ed0e6 Slider: Moved events to named functions (to allow extended plugins to hook in). 2013-01-14 12:48:32 -05:00
Mike Sherov
854f6df2bc Merge branch 'master' of github.com:jquery/jquery-ui into interactions
Conflicts:
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
	ui/jquery.ui.sortable.js
2013-01-11 20:25:03 -05:00
Mike Sherov
e4a786e1a4 Tooltip: Avoid errors on mouseover of tooltips with parents that have no title attribute. Fixes #8955 - Tooltip: error when parent element has no title attribute using jQuery <1.7
This corrects a failing test with core 1.6, so no new test is required.
2013-01-11 08:35:51 -05:00
Scott González
83cbf97978 Update copyright year to 2013. 2013-01-10 08:52:20 -05:00
Mike Sherov
78a6354180 Effects: fix backwards compatibility in animateClass for jQuery Core <1.8 2013-01-08 21:36:34 -05:00
Scott González
68e5ebcf1a Datepicker i18n: Fix line endings. 2013-01-08 08:09:34 -05:00
Dave Stein
6eb954f5ea Draggable: linted 2013-01-07 15:07:42 -05:00
Dave Stein
d84cf1d716 Draggable: Uncommented failing scrolling tests and fixed them 2013-01-07 14:44:00 -05:00
Dave Stein
1495a61298 Draggable: Grid will snap at >= half rather than just > 2013-01-07 11:35:18 -05:00
Mike Sherov
da01fb6a34 Effects: Avoid cssHook blending in non-rgba browsers when the value is "transparent". Fixes #8914: odd behaviour of css hook when setting backgroundColor to transparent in IE7/8 2013-01-03 14:33:41 -05:00
Mike Sherov
7b1c19b191 Merge branch 'master' into interactions
Conflicts:
	tests/unit/draggable/draggable_common.js
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
	ui/jquery.ui.sortable.js
2013-01-02 18:34:34 -05:00
Mike Sherov
f667d090a7 Interactions: Update widget defaults to match documented API. 2013-01-02 18:27:22 -05:00
Mike Sherov
b477098da5 Slider: add options for event callbacks 2013-01-02 14:58:12 -05:00
Mike Sherov
a3c8c19775 Merge branch 'master' into interactions
Conflicts:
	tests/unit/draggable/draggable_options.js
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
	ui/jquery.ui.sortable.js
2013-01-01 23:43:34 -05:00
Mike Sherov
ac2c7fd256 support array and string position notation for cursorAt 2013-01-01 22:15:03 -05:00
TJ VanToll
695358983e Selectable: Account for scrolling on the helper's initial position. Fixed #8915 - Selectable: Lasso offset issue with scrolling. 2013-01-01 08:22:18 -05:00
Kris Borchers
5561f5db12 Add comment explaining the mouseHandled flag 2012-12-29 20:08:35 -06:00
Kris Borchers
5143b7f672 Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select event not firing due to mouseHandled flag reset bug 2012-12-27 21:06:54 -06:00
Jörn Zaefferer
2c3d311f90 Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init 2012-12-27 17:23:25 +01:00
Jörn Zaefferer
0d53fbfd0b Spinner: Trigger start/spin/stop events when calling step/page methods. Fixes #8901 - Spinner does not fire start/spin/stop events when calling stepUp()/Down(), pageUp()/Down() methods 2012-12-27 17:06:01 +01:00
Jörn Zaefferer
04d668b717 Spinner: Update button icons when option changes. Fixes #8926 - Spinner: Can't change icons option after init 2012-12-27 12:50:04 +01:00
Mike Sherov
74d7eac2da All: Convert single quotes to double quotes. 2012-12-25 12:01:09 -05:00
Mike Sherov
63d624fcb5 Datepicker: Use tabs for indentation. 2012-12-25 08:41:09 -05:00
Dave Stein
c8d7e4c592 Draggable: Some fixes for updated unit tests 2012-12-23 12:42:50 -05:00
Dave Stein
67d98ef6f3 Interactions: Merged from master 2012-12-23 12:33:16 -05:00
Dave Stein
1c00423538 Draggable: Added refreshPositions backCompat + linted 2012-12-22 17:03:53 -05:00
Dave Stein
158bef1223 Draggable: Added snap/snapMode/snapTolerance via old code plus a little crying on the inside 2012-12-22 16:57:51 -05:00
Dave Stein
1e58ab22ff Draggable: Added helper to the draggable data while it exists 2012-12-21 17:53:40 -05:00
Dave Stein
bc5bbd0763 Draggable: Added in ability to stop events from "start" as well as "beforeStart" 2012-12-21 17:41:54 -05:00
Dave Stein
66bd7da551 Draggable: Fixed cursor backCompat timing 2012-12-21 17:26:10 -05:00
Dave Stein
86dcc5ea8f Draggable: Got the easier failing unit tests corrected 2012-12-21 12:01:23 -05:00
Dave Stein
15e3f28c4f Grunt: Ran and fixed jshint errors 2012-12-21 11:33:13 -05:00
Dave Stein
68f45613bd Draggable: Added stack backCompat 2012-12-20 18:02:00 -05:00
Dave Stein
50e2e91e85 Draggable: Added scoll, scrollSensitivity, scrollSpeed backCompat 2012-12-20 16:52:26 -05:00
Dave Stein
36f7c7b0b5 Draggable: Options are actually changeable after init now. 2012-12-20 15:21:30 -05:00
Dave Stein
876575272e Draggable: Added cancel backCompat 2012-12-20 14:58:44 -05:00
Dave Stein
03fc1e8175 Draggable: Removed whitespace and fixed axis backCompat based on code review 2012-12-20 14:10:09 -05:00
Scott González
e21fc29610 Datepicker: Remove data event handlers from the dark ages. 2012-12-20 10:12:40 -05:00
Dominic Barnes
209443d716 Slider: Create clone of options.values during _create(). Fixed #8892 - Multiple Sliders have Conflict with options.values. 2012-12-18 11:48:10 -05:00
Scott González
9cbd4b4222 Tooltip: Clear the tracking interval on close. Fixes #8920 -Tooltip potential setinterval endless loop. 2012-12-18 08:38:36 -05:00
Matthieu Penant
9f841dffcc Datepicker: Added Candian French locale. Fixes #8917 - Datepicker: Add Canadian French locale. 2012-12-17 08:30:23 -05:00
Scott González
8ec7a1b69f All: Use .addBack() instead of .andSelf(). 2012-12-14 11:13:50 -05:00
Scott González
80e46c93a8 Autocomplete: Append to closest .ui-front if available. 2012-12-14 09:10:32 -05:00
Dave Stein
9f018eb30a Draggable + Sortable: Code review changes 2012-12-12 14:23:17 -05:00
Scott González
ff78d0bbce Core: Moved selectstart support test to deprecated section. 2012-12-12 11:22:08 -05:00
Scott González
f5aaf874e9 Progressbar: Moved .ui-progressbar-indeterminate to main element. Added tests for markup structure. 2012-12-12 11:21:49 -05:00
Scott González
747d853452 Core: Removed $.ui.contains. Fixes #8902 - Remove $.ui.contains. 2012-12-12 08:54:53 -05:00
Scott González
0f111a2ac4 Dialog: Spacing. 2012-12-12 08:47:21 -05:00
Dave Stein
7cd8debe73 Draggable: Modified some backCompats to use dragstart rather than dragbeforestart 2012-12-11 20:20:56 -05:00
Dave Stein
d2e726d172 Draggable: Added zIndex backCompat 2012-12-11 19:49:41 -05:00
Dave Stein
34b4fbf08b Draggable: Added revertDuration backCompat. 2012-12-11 19:28:47 -05:00
Dave Stein
5a2e5a0a9a Draggable: Added revert backCompat with TODO for droppable strings, since that is not written yet 2012-12-11 19:21:37 -05:00
Dave Stein
421f6afdc4 Draggable: Added opacity backCompat along with some more comments in other areas 2012-12-11 19:16:20 -05:00
Dave Stein
3cd5010b80 Draggable: Added grid backCompat and fixed styles for single -> double quotes 2012-12-11 18:20:48 -05:00
Scott González
b9f206dbcf Dialog: Cleanup. 2012-12-11 16:23:18 -05:00
Dave Stein
9ef0828219 Draggable: Fixed elem reference in cursorAt 2012-12-11 11:56:48 -05:00
Dave Stein
f1f1b8d97e Draggable: Fixed variable casing + added cursorAt backCompat based on cursor-style.html demo 2012-12-11 11:55:08 -05:00
Dave Stein
4626c2bb34 Draggable: Added cursor backCompat 2012-12-10 18:03:58 -05:00
Dave Stein
44330395e1 Draggable: Added axis backCompat 2012-12-10 17:50:13 -05:00
Dave Stein
8a8a26f9da Draggable: Removed disabled option after realizing it is in widget. Also fixed spaces -> tabs. 2012-12-10 17:35:15 -05:00
Dave Stein
93dfd995df Draggable: Added disabled option 2012-12-10 17:20:11 -05:00
Dave Stein
94e475ba2d Draggable: _blockFrames now appends blocking div to iframe parent rather than body. Should fix Ticket #7650. 2012-12-10 17:14:37 -05:00
Dave Stein
25cf569c63 Draggable: Added exclude option without backCompat 2012-12-10 17:10:45 -05:00
Scott González
d4551bc3b8 Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option. 2012-12-07 16:57:03 -05:00
Scott González
70b16ef445 Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be attached to a element other than body. 2012-12-07 14:54:21 -05:00
Scott González
da17a232ca Autocomplete: Handle detached elements for appendTo after create. 2012-12-07 11:58:58 -05:00
Scott González
a1eb9ca4be Position: Split out dimension parsing. 2012-12-06 15:00:42 -05:00
Scott González
fb38c20763 Droppable: Added missing semicolon. 2012-12-06 14:43:35 -05:00
Scott González
3ec0c2e572 Core: Removed $.ui.isOver() and $.ui.isOverAxis(). Fixes #8891 - Remove $.ui.isOver() and $.ui.isOverAxis(). 2012-12-06 14:42:10 -05:00
Scott González
b239298946 Allow higher cyclomatic complexity in functions that sanely use switch statements. 2012-12-06 14:31:21 -05:00
Scott González
ebf8a60187 Tabs: Reduce cyclomatic complexity. 2012-12-06 14:31:21 -05:00
Kris Borchers
b44375aef1 Progressbar: Take min into account when calculating percentage. 2012-12-06 11:07:07 -06:00
Scott González
f7614706ab Progressbar: Cleanup, byte shaving. 2012-12-06 10:10:07 -05:00
Scott González
f1be88e795 Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests. 2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98 Progressbar: Define defaults for callbacks. 2012-12-06 09:21:25 -05:00
Scott González
1e5662ebe5 Tabs: Decode URIs before comparing. Fixes #8877 - Tabs: isLocal function issue in Safari 5.1.7. 2012-12-05 17:19:14 -05:00
Scott González
f59f5a8b12 Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed. 2012-12-05 11:53:34 -05:00
Bjørn Johansen
70f5d18c71 Datepicker: Added Norwegian Bokmål and Norwegian Nynorsk locales. Fixes #8886 - Datepicker: Add Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) locales.
Signed-off-by: Bjørn Johansen <bjorn.johansen@metronet.no>
2012-12-05 11:03:11 -05:00
Pavel Selitskas
cff4c3c4f3 Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale. 2012-12-05 10:54:53 -05:00
Scott González
598cdae199 Datepicker: Handle changes to the disabled option. Fixes #8883 - Datepicker: Changing disabled option doesn't work. 2012-12-05 10:38:31 -05:00
Mike Sherov
4e0e4e113a Get the draggable tests to run 2012-12-04 22:26:40 -05:00
Scott González
3c2acc3227 Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed. 2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8 Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
This reverts commit d687a1b10d.
2012-12-04 09:21:33 -05:00
Scott González
8072099a3a Revert "Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b)."
This reverts commit 53b940fa27.
2012-12-04 09:21:16 -05:00
Scott González
86f1087931 Revert "Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b)."
This reverts commit b9068c1523.
2012-12-04 09:20:56 -05:00
Jörn Zaefferer
9bd44301d3 Dialog: Refactor _createOverlay and _destroyOverlay to use widget methods and properties. 2012-12-04 01:17:00 +01:00
Jörn Zaefferer
1e8baf5683 Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist. 2012-12-04 01:08:34 +01:00
Jörn Zaefferer
b9068c1523 Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). 2012-12-04 00:56:14 +01:00
Jörn Zaefferer
53b940fa27 Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). 2012-12-04 00:49:37 +01:00
Jörn Zaefferer
d687a1b10d Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers. 2012-12-04 00:35:47 +01:00