Commit Graph

2046 Commits

Author SHA1 Message Date
Kato Kazuyoshi
98fcb477d6 Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids. 2011-05-11 13:06:53 -04:00
Scott González
d3e21cf59a Merge pull request #223 from kzys/trac-7043
Fixed #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are neededf
2011-05-11 08:08:37 -07:00
Scott González
1298f939b9 Tabs: Simplify logic for showing/hiding tabs. 2011-05-11 10:08:06 -04:00
Scott González
b70256c368 Menu: Fixed variable name. 2011-05-11 08:43:37 -04:00
Scott González
24864de57d Menu: Use appropriate methods for getting scroll values for .prop()/.attr() compat. Fixes #7354 - Autocomplete: Scrollable results don't visually update with jQuery 1.6. 2011-05-11 08:37:27 -04:00
Jörn Zaefferer
0352c2c71f Menu: Remove default preventDefault. Add more meaningful href's on menu
and menubar demos. Change doesn't seem to affect autocomplete as that
doesn't use href-attributes anyway.
2011-05-11 13:39:58 +02: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
783f134aaa effects: Updating bounce/pulsate/shake to fire callbacks before the next anim starts 2011-05-10 16:25:08 -05: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
Jörn Zaefferer
7f8ccc523a Autocomplete: Add comment to fix for #7269 2011-05-10 17:43:21 +02:00
Jörn Zaefferer
0e1bfaf1fa Merge remote branch 'treyhunner/topic/arrow-keys' 2011-05-10 17:40:49 +02:00
Jörn Zaefferer
1426f7edf3 Merge remote branch 'origin/master' 2011-05-10 17:10:45 +02:00
Scott González
b546f316be Merge remote branch 'gnarf37/ticket-7067' 2011-05-10 11:00:14 -04:00
Jörn Zaefferer
c844bbd2ed Merge remote branch 'kborchers/bug_7024' 2011-05-10 16:59:22 +02:00
Scott González
1a974109ef Merge pull request #234 from carsonmcdonald/issue6948
Resizable: Skip autohide hover action when resizable is disabled. Fix #69
2011-05-10 07:52:28 -07:00
Scott González
36fccdda14 Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option. 2011-05-10 09:15:08 -04:00
kborchers
73ed73890c Autocomplete: Added check to determine if menu has just been created to override mouseover event and reset that variable from autocomplete on close. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved 2011-05-09 16:22:11 -05:00
Scott González
9ea6db634f Tabs: Only trigger tabsload on success. 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
f1180e5341 Merge pull request #235 from kborchers/bug_4333_2
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-05-09 10:10:17 -07:00
Scott González
5ae44f8a3b Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option. 2011-05-09 12:52:00 -04:00
kborchers
9c50bdfde0 Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE 2011-05-09 11:43:45 -05:00
Carson McDonald
0e2bc5efe2 Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable 2011-05-09 11:00:12 -04:00
Richard D. Worth
2e882de30e Merge pull request #229 from kzys/strange-whitespace
'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020).
2011-05-09 06:50:19 -07:00
Jörn Zaefferer
24c0d9195a Popup: Fix keyboard handling to prevent scrolling on keydown 2011-05-07 16:23:31 +02:00
Jörn Zaefferer
cd92ad09f5 Promote menubar and popup to their own top level files 2011-05-07 16:22:04 +02:00
Kato Kazuyoshi
27f943bf36 Dialog: 'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020). 2011-05-07 16:02:06 +09:00
Kato Kazuyoshi
ac459ff7df Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed. 2011-05-07 06:32:13 +09: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
476777f1e9 Merge pull request #218 from kborchers/bug_6775
Datepicker: Moved the setting of  _datepickerShowing to after postProcess. Fixed #6775
2011-05-06 10:29:02 -07:00
eddiemonge
d522dad718 Tabs: Removed executable file permissions. Fixes #7329 - Tabs doesn't need to have execute permissions. 2011-05-06 13:17:12 -04:00
kborchers
88d8209fdd Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out 2011-05-06 10:40:43 -05:00
Eike Send
a7f1659cdc Button: stop disabled button from firing click events. fixes #5945. Behavior was inconsisten between BUTTON and A elements. 2011-05-05 14:45:06 +02: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
Scott González
511b86b31e Merge pull request #201 from kzys/trac-7062
Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
2011-05-04 14:00:20 -07:00
Kato Kazuyoshi
f505de68fd Datepicker: Remove BOM. Fixed #6734 - Datepicker i18n: Problem with JavascriptPacker. 2011-05-05 05:29:13 +09: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
d61e0656c5 Merge branch 'master' into effects-unit 2011-05-04 01:38:41 -05:00
Jörn Zaefferer
66b96cbbe4 Tooltip: Also close on click. Essential for tooltips on menu buttons. 2011-05-04 08:21:57 +02:00
Jörn Zaefferer
a444287642 Menu: Restore _destroy - remove tabIndex (gets added), don't remove ID
(can get generated, but removing only generated ideas hopefully isn't
necessary). May have to fix that later.
2011-05-03 21:58:26 +02:00
gnarf
126d46c050 effects.pulsate: tweaking 'times' - if showing / hiding the animation has an extra 'half' time as opposed to removing a 'half' time 2011-05-03 10:48:00 -05:00
gnarf
d5f6a71cfa effects.bounce: Fixing hide bounce distance calculation 2011-05-03 08:51:53 -05:00
gnarf
e8bece27ab effect.bounce: ignoring the margins for the height calc 2011-05-03 08:45:21 -05:00
gnarf
34d9e038bd effect.bounce: fixing default distance to be 1/3 the size of the bouncing box - thx @scott_gonzalez for catching this 2011-05-03 08:39:02 -05:00
gnarf
1f3f7bf787 Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect. 2011-05-03 09:16:30 -04:00
gnarf
61904162cf effects.pulsate: set default mode to 'effect' 2011-05-03 07:22:34 -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
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
Adam Baratz
51df02ee4e Dialog: remove unneeded DOM manipulations. Fixed #7258 - optimize initialization. 2011-05-02 18:03:14 -04:00
Scott González
3d5d58d854 Merge pull request #187 from virgofx/master.
Fix #7270 - Draggable iFrameFix
2011-05-02 14:49:05 -07:00
Scott González
4f63e5ca6c Merge pull request #191 from whittet/patch-1.
Bug fix for another use case, see comment by whittet here: http://bugs.jq
2011-05-02 14:46:01 -07:00
Scott González
d09599b201 Merge pull request #192 from ef4/master.
Fixed #4445 containment ignored when scrolling in overflow div
2011-05-02 14:42:33 -07:00
Jörn Zaefferer
0496a50238 Tooltip: Replace offset property with inline my+offset to make it easier
to override the offset. Fixes the odd offset in the video player demo.
Also doesn't need units.
2011-05-02 18:22:00 +02:00
adambaratz
74d195e396 Datepicker: bind hover events using delegate. Fixed #7256 - minimize event binding in Datepicker initialization. 2011-05-02 09:53:13 -04:00
gnarf
c13ef9e037 Widget: show/hide effects added BackCompat 2011-05-02 07:49:11 -05:00
gnarf
c9fb452867 widget: Updating code for show/hide to use new effects API namespace - DRY'ed out a bit as well 2011-05-02 06:49:59 -05:00
Jörn Zaefferer
d8e60e9a8a Merge branch 'master' into tooltip-animations 2011-05-02 13:12:36 +02:00
Jörn Zaefferer
a03c222f05 Tooltip: Overhaul widget animations code to allow delay with plain show/hide 2011-05-02 13:11:58 +02:00
gnarf
1eada21549 effects.*: Updating fade, pulsate, scale, shake to pass units 2011-05-01 06:24:22 -05:00
gnarf
d82a44ab4b Some minor tweaks to the effects, trying to clean up code a bit + style guidance 2011-05-01 06:19:38 -05:00
gnarf
668d28e30e effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here 2011-05-01 06:18:31 -05:00
gnarf
40ebb0f846 effects.*: Normalizing animation time - 1000 ms effect should only take 1000 ms - Fixes #7067 - Also making sure the queued animations run DIRECTLY after the effect 2011-05-01 06:07:57 -05:00
gnarf
321fd39057 Some minor tweaks to the effects, trying to clean up code a bit + style guidance 2011-05-01 03:44:33 -05:00
adambaratz
fe3b36b8ef Core: reuse tabindex value. Fixed #7257 - optimize :tabbable. 2011-04-29 08:24:27 -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
David Petersen
dcb1720f31 Tabs: Remove refresh dependancy in _setOptions 2011-04-28 12:08:39 -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
Edward Faulkner
d620749611 Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div 2011-04-28 10:43:02 -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
David Petersen
abe4c37748 Tabs: simplify disabled logic 2011-04-28 09:37:47 -04:00
David Petersen
a1473042b4 Tabs: Make sure prototype.url is defined before trying to shim it 2011-04-28 09:07:54 -04:00
Scott González
60d4e0ae42 Class Animation: Use .attr( "class" ) instead of .attr( "className" ) and adjust the queueing logic for jQuery 1.6 compatibility. Fixes #7275 - $.effects.animateClass broken in jQuery 1.6." 2011-04-27 10:42:21 -04:00
whittet
2bf061ea6f Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702 2011-04-27 07:21:29 -07:00
Jörn Zaefferer
cd61fb1b55 Merge branch 'master' into menubar
Conflicts:
	ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02: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
jzaefferer
6326da3fdb Menu: Add ui-state-active to parent item when submenu item receives focus. 2011-04-23 17:36:52 +02:00
Hans Hillen
84f918ae44 Fix collapsing submenus issue 2011-04-22 23:14:04 +02:00
Hans Hillen
dc7410f55b Prevent branch menuitems from firing select event 2011-04-22 20:22:56 +02:00
jzaefferer
3bb9ab2626 Tooltip: Add support for delaying showing/hiding. Still need to figure
out how to combine that with non-animated show/hide.
2011-04-21 14:30:42 +02:00
Trey Hunner
bdfc6d532c Autocomplete: Fix list traversal bug. Fixes #7269 - autocomplete: holding down arrow keys in Firefox does not traverse list
Use keypress event for listening for arrow keys because Firefox
and Opera do not repeat keydown events for these keys.
2011-04-20 09:03:11 -07:00
jzaefferer
34e3a2401a Menu: Add icons support 2011-04-20 17:18:15 +02:00
jzaefferer
f0d5a0008f Menu: Make keyboard focus matching take submenus into account 2011-04-20 15:35:40 +02:00
Mark Johnson
b1c8a13a16 Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270. 2011-04-19 14:39:58 -07:00
Hans Hillen
d77185a5a1 Fix "menubar does not collapse when clicking on other menubar" + minor changes 2011-04-18 23:05:50 +02:00
Hans Hillen
f89f0ca61f ARIA & Focus changes to menu, specifically to how aria-activedescendant is handled 2011-04-15 19:18:38 +02:00
jzaefferer
3950a0515d Stop show animation on hide. Now that we don't reuse the tooltip
element, we can safely do that.
2011-04-15 16:53:05 +02:00
jzaefferer
e609bebaae Custom tooltip animations based on widget-animations branch. 2011-04-15 16:49:29 +02:00
Lopo
59c787fa4a Datepicker: Fixed Slovak locale. Fixes #7254 - Datepicker: Incorrect day name for Slovak localization. 2011-04-15 00:13:20 -04:00
Scott González
3af0923b73 Datepicker: Fixed dateFormat for nl locale. Fixes #7250 - Datepicker: Incorrect dateFormat in jquery.ui.datepicker-nl.js. 2011-04-15 00:08:03 -04:00
jzaefferer
67d49f593b Overhaul tooltip implementation. Avoid queuing and other problems by
creating the tooltip element on the fly, never reusing it.
Use aria-describedby attribute to find the associated tooltip again.
Allows customizing animations much easier (just replace fadeIn/fadeOut),
still open.
Updated demos and visual test to replace now-missing .widget() method.
Added tooltipClass for that.
2011-04-13 14:01:46 +02:00
Scott González
bc65675330 Tabs: Fixed issues with collapsible and active options. 2011-04-11 13:49:22 -04:00