Commit Graph

1899 Commits

Author SHA1 Message Date
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