Scott González
ea403891b9
Merge remote branch 'gnarf37/ticket-3939'
2011-05-12 20:56:34 -04:00
Scott González
dd00f7f3b4
Merge pull request #256 from dcneiner/button-blur
...
Fixed #6242
2011-05-12 17:48:25 -07:00
Scott González
523790b111
Merge pull request #257 from dcneiner/buttonset-rtl
...
Fixed #6796
2011-05-12 17:44:13 -07:00
kborchers
6e6d0b749c
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-12 16:27:12 -05:00
kborchers
331c4602a9
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-12 15:14:58 -05:00
kborchers
29b36bb409
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
2011-05-12 13:31:15 -05:00
Andrew Powell
a6227be2c0
Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox
2011-05-12 11:28:37 -04:00
David Murdoch
b6497996ce
Replace comma with semi-colon. How'd that get there?
2011-05-12 13:28:01 +00:00
Scott González
1845015c09
Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed."
...
This reverts commit ac459ff7df
.
2011-05-12 08:17:16 -04:00
gnarf
2dcf723151
effects.core: Rework animateClass to support a 'children' option - Fixes #3939 - Option to animate children elements in animateClass
2011-05-12 07:11:01 -05:00
gnarf
c241275a30
Effects.core: Style Commit - double-quotes and threeqals and whitespace
2011-05-12 02:51:10 -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
Doug Neiner
8df834f68c
Button: no longer calls _resetButton() after changing the disabled option. Fixed #6242 - Button .enable() strange behavior on Webkit (Google Chrome, Safari)
2011-05-12 01:16:06 -04:00
David Murdoch
9e4e359705
fix spacing and add in a missing comma
2011-05-11 16:52:43 -07:00
David Murdoch
abf3a86c8b
Fix issue when window is "within".
2011-05-11 16:44:20 -07:00
David Murdoch
c6afaa1072
Fix #5645 - Position: Allow for arbitrary element to be containing element
2011-05-11 16:30:21 -07:00
gnarf
c89bbc1839
Class animation: Cleaned up detection of what we can animate and fixed border styles. Fixes #7109 - animateClass doesn't like going from borderStyle: none to borderStyle: *.
2011-05-11 17:09: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
Scott González
9bd731da14
Tabs: Minor cleanup of deprecated code.
2011-05-11 15:01:57 -04:00
Garrison Locke
a645630eba
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
2011-05-11 14:22:04 -04: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
Adam Baratz
7fb6ca146e
Slider: add handles in single DOM operation. Fixed #7259 - optimize handle creation.
2011-05-11 13:13:09 -04:00
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
Kyle Florence
3b77ac654b
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv should be hidden when value is at 0%
2011-04-09 14:27:10 -04:00
Richard Worth
54016b8469
Sortable: Reverted 56b0da59d7
as #4551 is invalid.
2011-04-07 09:08:48 -04:00
Scott González
bc6a28ee03
Tabs: Cleaned up _tabId() implementation.
2011-04-05 21:39:02 -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
gnarf
cc2342ac31
effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here
2011-04-04 15:43:47 -05: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
e19d8261c1
Tabs: Properly handle switching from active: false.
2011-04-04 14:27:38 -04:00
Scott González
fc5291291b
Accordion: When simulating events, make sure we use DOM elements, not jQuery objects.
2011-04-04 14:22:54 -04:00
Scott González
80b6de1b78
Accordion: Pass original event in beforeActivate event.
2011-04-04 11:53:19 -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
98c53d8432
Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1.
2011-04-04 07:55:42 -04: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
Scott González
cd29170ae0
Core: Fixed spacing.
2011-03-29 10:17:40 -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
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
gnarf
5c88bb702f
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-03-27 06:30:52 -05:00
David Petersen
f6e7b6c9f6
Use this.running to know if we are still in process of showing/hidding a tab
2011-03-26 21:02:17 -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
3d61244526
Tabs: Deprecate abort method. Fixes #7133 Tabs: Deprecate abort method
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
David Petersen
03ef2fb452
Tabs: Split out event handler, showtab, hidetab, resetStyle to their own methods
2011-03-26 12:04:14 -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
c6e7e3fc28
Widget: Deprecated use of metadata plugin. Fixes #7191 - Widget: Deprecate use of metadata.
2011-03-23 09:16:19 -04:00
Scott González
79c0fb7ee9
Accordion: Added missing semicolon.
2011-03-23 08:57:41 -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
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
d4dadd14c2
Merge branch 'remove-spinner-output' of https://github.com/ajpiano/jquery-ui
2011-03-22 08:55:00 -04:00
adam j. sontag
00547ec046
Spinner: Remove debugging output that appends directly to the body from mousewheel handling.
2011-03-21 17:37:57 -04:00
adam j. sontag
02ba487db0
Spinner: Set the widgetEventPrefix to "spin" as per the spec.
2011-03-21 16:10:12 -04:00
Scott González
a6fbb47e6a
Position: Fixed typo.
2011-03-21 14:02:00 -04:00
Scott González
7fc0cec36f
Position: Removed unused refenrece to $.fn.offset.
2011-03-21 14:00:26 -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
Giovanni Giacobbi
3ce8429f4f
Restructured if/else's for better readability
2011-03-20 03:19:36 +01:00
Scott González
6d01645716
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
2011-03-18 08:26:08 -04:00
jzaefferer
5a112d4e03
Menu: Close submenu on ESCAPE keypress
2011-03-17 17:43:11 +01:00
jzaefferer
0872aac982
Widget: Accept selectors and DOM elements as element-argument to _bind
2011-03-17 11:59:32 +01:00
jzaefferer
a077047fb3
Menu: Implement delaying of opening and closing submenus
2011-03-17 10:37:37 +01:00
Scott González
da67ece506
Menu: Handle clicking on a menu item without hovering it first. Fixes #7085 - Menu click when no mouseover causes error.
2011-03-15 14:02:18 -04:00
Richard Worth
4026d3acd7
Autocomplete: moved autoFocus implementation to after menu visible for a11y
2011-03-15 12:26:47 -04:00
Scott González
4881a27b82
Merge branch 'ticket-3968' of https://github.com/gnarf37/jquery-ui
2011-03-15 09:18:38 -04:00
gnarf
ac0cc2fac5
Datepicker: Updated to check for new or old style effects (see #7103 ).
2011-03-15 09:02:21 -04:00
gnarf
d64c9efda5
Effects: Moved effects to $.effects.effect[] and deprecated use of $.effects[]. Fixes #7103 - Effects: Move effects to $.effects.effect[].
2011-03-15 09:00:45 -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
Matt Hoskins
84257e7f0a
Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed : #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache.
2011-03-14 06:53:00 -07:00
gnarf
7bb0e40f7a
effects.explode: correcting my misspelled variable name :/
2011-03-12 14:41:56 -06:00
gnarf
39dcad6e49
effects.explode: rework math used to split the div into peices - split the box disregarding margins
...
Fixes #3968 - effects explode: explodes from the right instead of from the center
2011-03-11 20:00:36 -06: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
Scott González
0eb1106b5b
Merge branch 'ddmanager-caches-wrong-dimensions' of https://github.com/EleotleCram/jquery-ui into EleotleCram-ddmanager-caches-wrong-dimensions
2011-03-11 10:19:45 -05:00
gnarf
3f8c608691
effects.core: Another place where args.callback was used that escaped my first pass
2011-03-11 09:50:56 -05:00
Marcel Toele
86e6ed2eb1
Droppable: enabled and accepting droppables are now activated prior to evaluating their geometry. Fixes #7104 Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.
2011-03-11 15:37:52 +01:00
gnarf
4ade64b690
effects.*: Explode effect was removing more elements than it should upon completion. Fixed #6022 - multiple explosions cut short
2011-03-10 22:18:19 -06:00
Scott González
19e72449f1
Effects: Handle just passing an effect name.
2011-03-09 10:09:29 -05:00
Scott González
3875cf63e4
Merge branch 'effects-api' of https://github.com/gnarf37/jquery-ui into gnarf37-effects-api
2011-03-09 10:01:07 -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
Guillaume Gautreau
3a0ec399cd
Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin
2011-03-08 09:32:48 -05:00
gnarf
b3198643ca
effect.puff: Errant console.log removed
2011-03-08 00:52:07 -06:00
awgy
0680b59260
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko
2011-03-08 00:52:07 -06:00
Adam Parod
18ad8ffb3d
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
2011-03-08 00:52:07 -06:00
michaelmwu
4ad513b7f0
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)
2011-03-08 00:52:07 -06:00
Douglas Neiner
6008a30fcb
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-08 00:52:07 -06:00
Richard Worth
ea89522828
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
2011-03-08 00:52:07 -06:00
Scott González
d4b2e494f9
Merge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master
2011-03-07 10:47:33 -05:00
Adam Parod
74b7c3f684
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
2011-03-07 09:34:00 -05:00
gnarf
b6debf4daf
effects.drop: Quick second pass Style Guidance
2011-03-06 23:34:24 -06:00
gnarf
69a7382fb7
effects.fade: Using $ instead of jQuery
2011-03-06 21:16:56 -06:00
gnarf
703cd82cd0
effects.core: Style Guidance
2011-03-06 20:44:35 -06:00
gnarf
576cd0b92b
effects.*: style guidance
2011-03-06 18:48:14 -06:00
gnarf
9c771b8f8b
effects.*: Style Guidance
2011-03-06 18:34:18 -06:00
gnarf
7a60bc6824
effect.*: Style Guidance
2011-03-06 17:45:43 -06:00
gnarf
bcb8f7ed9a
effects.*: More Style Guidance
2011-03-06 15:24:24 -06:00
gnarf
61cf834081
effects.drop: Style Guidance
2011-03-06 05:41:27 -06:00
gnarf
7391fe8df3
effects.clip: Reuse a var instead of calculate again
2011-03-06 05:25:38 -06:00
gnarf
210fcc4278
effects.clip: Style Guidance
2011-03-06 05:22:32 -06:00
gnarf
d742cd6a88
Effects: Minor whitespace improvements
2011-03-05 16:17:54 -06:00
michaelmwu
f1d939bc58
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)
2011-03-04 22:17:30 -08:00
gnarf
2fdc868707
Effects: General Code Cleanup
2011-03-04 17:10:02 -06: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
gnarf
5c4577f78c
Cleaning up effects.core _normalizeArguments a bit more
2011-03-02 20:58:10 -06:00
Richard Worth
5c6afa8e7b
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
2011-03-02 21:27:09 -05:00
gnarf
a1c8c7bcd6
Updated to new effects object API
2011-03-02 20:10:09 -06:00
gnarf
a370d1ffc8
Just a quick touch to update to new internal effects object API
2011-03-02 20:00:57 -06:00
gnarf
5fd1f17393
Quick rewrite for new options object
2011-03-02 19:46:46 -06:00
gnarf
2ad1cf3319
Starting to clean up the internal API for animations
2011-03-02 19:30:27 -06:00
jzaefferer
2221dd6583
Menu: Cleanup
2011-02-28 22:38:06 +01:00
jzaefferer
a256e05df5
Menu: Move addClass(active) call to _open to make it work for both mouse
...
and keyboard interactions
2011-02-28 22:36:41 +01:00
Scott González
31a181abfc
Tooltip: Make sure we have a target before trying to open the tooltip.
2011-02-26 15:06:06 +01:00
Scott González
b4d75c1083
Tooltip: Rename _show to _open.
2011-02-26 15:04:33 +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
Scott González
e72afe4afc
Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.
2011-02-26 11:14:15 +01:00
jzaefferer
6a5eb351c7
Position: Drop offset-as-a-setter from position, 1.9 won't support core
...
1.3 anymore
2011-02-25 11:16:16 +01:00
Scott González
0cd297702d
Datepicker: Added Tajikistan localization. Fixes #7034 - Datepicker: Add Tajikistan localization.
2011-02-25 10:40:36 +01:00
maggiewachs
f73466a320
Removed active state when menu closes
2011-02-24 11:46:51 -05:00
maggiewachs
adf80bfb38
Added active state toggle to items with submenus to provide "breadcrumb" feedback
2011-02-24 11:44:47 -05:00
jzaefferer
0ddf677e40
Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
...
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00
jzaefferer
38cfcfffe9
Menu: Update autocomplete to use deactivate and check for focus class
2011-02-24 12:05:20 +01:00
jzaefferer
6bd95efe5e
Menu: Fix filter matching to work with flyout menu
2011-02-24 11:14:19 +01:00
jzaefferer
5d3f91bcbe
Menu: Move item matching code into menu
2011-02-24 11:14:19 +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
d74fb20a28
Menu: Replace ui-state-hover with ui-state-focus. More semantic, looks
...
the same.
2011-02-24 10:12:20 +01:00
jzaefferer
0d659d44c3
Menu: Rename activate to focus and deactivate to blur method
2011-02-24 10:06:08 +01:00
Gilmore Davidson
9626484dd5
Fixed #6979 - Several components are leaking variables into the global scope
2011-02-23 16:33:27 +01:00
jzaefferer
355705878a
Menu: Overhauled nested menu via flyoutmenu.js backported from Michael
...
Lang's fork. Changed key input handling by setting focus to menu,
getting rid of input option.
2011-02-22 11:51:08 +01:00
jzaefferer
a1eaac8847
Spinner: Use jQuery's focus() method instead of DOM method to set focus
...
to input. Fixes testsuite in IE6.
2011-02-21 22:45:19 +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
Richard Worth
7c4d6a763d
Datepicker i18n: Changed all html named character entities to unicode hex entities. Fixed #7008 - Chromium-Browser does not support html-entities in datePicker i18n-translation
2011-02-19 09:54:15 -05:00
adam j. sontag
b4bcc1bf9d
Datepicker: Display Year before Month in Hungarian i18n. Fixes #7019 - Hungarian Localisation has month-date in wrong order
2011-02-18 11:45:44 -05:00
Scott González
c44818fcca
Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.
...
Thanks jomyjohn
2011-02-16 13:15:14 -05: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
jzaefferer
ed531ef0d3
Menu: Remove ui-state-hover class from menu items on destroy
2011-02-16 08:39:30 +01: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
Scott González
6c3477e12e
Merge remote branch 'msolli/master'
2011-02-15 10:00:25 -05: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
Scott González
a3cba34a4d
Datepicker: Properly handle datepickers attached to inputs that are hidden using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same.
2011-02-15 08:39:47 -05:00
Martin Solli
d505c7c66d
Datepicker: improved translation of Norwegian names for days and months. Fixed #6986 - Improved translation of day and month names
2011-02-14 05:49:33 -08:00
jzaefferer
e69839ae6a
Menu: Fix unit tests and set the right menu1-activedescendant attribute
2011-02-11 15:42:44 +01:00
Scott González
1cb1b9cef7
Widget: Handle super calls when method calls go up and down the inheritance chain.
2011-02-11 08:53:43 -05:00
Alex Dovenmuehle
5b104dbcef
Button: Batched class changes to improve performance. Fixes #6934 . Button: Batch class changes to improve performance.
2011-02-10 22:11:59 -05:00
Scott González
92bae28dea
Widget: Only create _super and _superApply once per method, then assign on every execution.
2011-02-10 21:32:33 -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
fb35d4e5c5
Accordion: Reset overflow on both content panels being animated, not just the one being shown. Fixes #6957 - .ui-accordion-content's overflow value does not change back to auto in IE 6.
2011-02-08 16:13:18 -05:00
Scott González
fba3349e38
Merge branch 'master' of github.com:jquery/jquery-ui
2011-02-08 09:22:45 -05:00
Scott González
93916b4d01
Accordion: Added note about using ui-accordion-header-active class.
2011-02-08 09:21:35 -05:00
jzaefferer
ce51edefb3
Spinner: Fix time spinner demo; workaround for _super issue.
2011-02-07 20:37:06 +01:00
jzaefferer
ba4fa2b5ca
Spinner: Fix unnecessary var
2011-02-07 18:50:19 +01:00
awgy
548bdb12a1
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko
2011-02-05 02:13:55 -06: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
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
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
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
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
3e370a4467
Dialog: Use ._focusable() and ._hoverable().
2011-01-24 21:58:40 -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
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
Scott González
cf0c32f335
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
2011-01-19 10:45:44 -05:00
Scott González
30c9473d8f
Datepicker i18n: Added Algerian Arabic to demos.
2011-01-19 10:15:15 -05:00
cherif
fcf8c2631c
Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
2011-01-19 09:11:24 -05:00
jzaefferer
6a79c70852
Spinner: Update to latest jquery-global plugin, removing the currency
...
workaround.
2011-01-18 12:11:26 +01: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
Scott González
a4d2a0fa19
Datepicker i18n: Added Australian and New Zealand localizations. Fixes #6828 - Datepicker: Add en-AU or en-NZ initialisations.
...
Thanks Campbell
2011-01-17 09:26:30 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
53dc2d3056
Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget.
2011-01-16 16:19:58 -05:00
Scott González
1dc4d64dd4
Spinner: Moved ARIA to input and fixed tests.
2011-01-15 08:28:13 -05:00
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