Commit Graph

2204 Commits

Author SHA1 Message Date
Jörn Zaefferer
02aad7b0ae Widget delegation: Update menu to use _bind with delegation. Clean up test. 2011-07-28 15:47:59 +02:00
Jörn Zaefferer
5a45f483d7 Merge branch 'master' into widget-delegation 2011-07-28 15:16:20 +02:00
kborchers
e16e99a154 Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur). 2011-07-26 08:52:33 -05:00
Jörn Zaefferer
f89091105f Merge remote branch 'kborchers/menu_home_end' 2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
f59a3e91e3 Datepicker: Use .attr() for size. 2011-07-25 11:13:54 -04:00
kborchers
23340f1162 Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav 2011-07-25 09:13:13 -05:00
Scott González
e2a9b0c568 Merge pull request #368 from kborchers/bug_3532_2
Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails
2011-07-20 06:30:51 -07:00
kborchers
5f02a8ff1f Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails 2011-07-20 08:19:01 -05:00
kborchers
8224c675e1 Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit 2011-07-19 16:15:59 -05:00
Richard D. Worth
5002bf6185 Datepicker i18n: Corrected Dutch abbreviation of month name March. Fixed #7566 - Dutch march name translation 2011-07-19 11:03:22 -04:00
Richard D. Worth
b8af0d1f75 Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height 2011-07-19 07:59:21 -04:00
kborchers
6d0859f716 Menu: Changed closeAll to collapseAll and updated in Menubar, also updated a reference to left in Menubar to collapse. 2011-07-14 11:38:03 -04:00
Jörn Zaefferer
11d24ee84c Menu: Fix formatting and whitespace (was supposed to update previous commit) 2011-07-14 11:10:28 -04:00
kborchers
f41d2378f9 Menu: Check if submenu is already open and if so, don't call open again. Fixes Firefox bug where a mouseover of an icon adjusted the position of a submenu by a half pixel 2011-07-14 11:08:28 -04:00
Jörn Zaefferer
2803417dc4 Tooltip: Handle ESCAPE key event to close tooltip when target has focus. 2011-07-13 18:06:16 -04:00
kborchers
bc93b3ff08 Menu: Remove the ui-state-active class from the siblings of the newly activated menu item without a delay to fix a bug where mouseover of a menu item directly adjacent to the active item would cause a 1 pixel jump due to both items having a class with a border (ui-state-active and ui-state-focus) 2011-07-13 15:33:17 -05:00
Jörn Zaefferer
7856b264a2 Menubar: Trigger select event after running all other methods. Allows the select-handler to destroy the widget without errors. 2011-07-13 11:03:31 -04:00
Scott González
06676f4696 Accordion: Fixed key handling. 2011-07-12 20:50:43 -04:00
Scott González
0080f2d581 Use .attr() for boolean ARIA attributes. 2011-07-12 11:36:34 -04:00
Jörn Zaefferer
bfbb9e3b23 Merge remote branch 'bmsterling/position' 2011-07-12 11:10:40 -04:00
kborchers
9f5050ee06 Menu: Added close on click outside using technique from popup 2011-07-12 11:03:10 -04:00
Scott González
0dc4a48762 Dialog: Append the dialog to the body early to make sure styles from the classes get applied. 2011-07-12 09:16:22 -04:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
Jörn Zaefferer
954419f94e Merge remote branch 'kborchers/menubar-autoExpand' 2011-07-09 22:40:14 -04:00
kborchers
40aa8f5715 Menubar: Added the autoExpand option and modified the default demo to show functionality 2011-07-07 09:29:50 -05:00
Jörn Zaefferer
0245b72af8 Merge remote branch 'kborchers/menu-expand-collapse' 2011-07-06 16:56:23 -04:00
kborchers
5d2b683761 Menu: Changed left and right methods to collapse and expand respectively. 2011-07-05 10:02:33 -05:00
Jörn Zaefferer
96de2aa04a Merge remote branch 'pgraham/master' 2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31 Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called 2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1 Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed 2011-06-28 10:49:47 -05:00
Corey Frang
d18cd7ed0f Effects.core: Check Visibility vs 'hide' and 'show' modes, finish immediately if neccessary - Fixes #6715 - Hide and Show try to affect hidden and showing elements 2011-06-23 07:22:34 -05:00
marcneuwirth
5f0a2f01c4 Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object 2011-06-22 04:03:55 -05:00
gnarf
ab627e03a6 Effects.*: DRY the complete callback execution into the 'done' callback passed into an effect 2011-06-21 01:18:19 -05:00
gnarf
65a6c46e55 Effects.*: Style Guidance 2011-06-21 01:18:11 -05:00
gnarf
1c1a3b1a36 Effects.*: Updating Effect Method API to avoid duplicating the queue call - Fixes #7318 - Add the queue functions to $.fn.effect() 2011-06-21 01:18:01 -05:00
Jörn Zaefferer
5297b7bc42 Whitespace cleanup 2011-06-20 22:31:28 +02:00
Jörn Zaefferer
8b14b35dc7 Widget delegation: Fix impl and add basisc test 2011-06-19 14:59:18 +02:00
Jörn Zaefferer
aa7f8195f8 Merge branch 'master' into widget-delegation 2011-06-19 14:45:20 +02:00
Scott González
fb210ae1ec Merge pull request #353 from kborchers/bug_7043
Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed
2011-06-16 10:35:04 -07:00
Corey Frang
4bdbab9a67 Merge pull request #322 from kborchers/bug_5665
Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work
2011-06-16 00:40:10 -07:00
gnarf
c1f71f1c2f Effects.scale: Update the position of the element post animation to avoid jumping - Fixed #4316 - Element jumps to wrong position after scale effect with origin: ['middle','center'] parameter 2011-06-14 15:10:54 -05:00
beatryder
b0182d7822 Spinner: modified _spin and _setOption to call new method _trimValue to check for min/max values. Fixed #7264 - Spinner returns values beyond min and max, off by one 2011-06-13 20:42:45 -05:00
kborchers
ed7802090f Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker. 2011-06-13 10:54:40 -05:00
tomykaira
3e0d3c9225 Effects.transfer: check the target is fixed or not, and consider scrolling. Fixed #5547 - Transfer effect to fixed positioned element. 2011-06-10 15:52:27 -05:00
Scott González
154c5e5fd1 Position: Coding standards. 2011-06-10 16:07:03 -04:00
gnarf
85eeaf0b05 menu: Second pass style guidance 2011-06-10 07:23:01 -05:00
gnarf
e993a9b210 menu: Partial Style Guidance - Fixing JSLint Warnings 2011-06-10 05:28:13 -05:00
Jörn Zaefferer
3315502ba4 Merge remote branch 'hanshillen/popup-hh' 2011-06-10 12:17:12 +02:00
Hans Hillen
7ccb0e52c4 Use of _bind, maintain original tabindex value for popup 2011-06-10 11:42:43 +02:00
gnarf
1350e547ff Merge branch 'effects-clean' 2011-06-09 20:43:28 -05:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
tashekelahi
19dcac2129 Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined 2011-06-09 21:05:33 -04:00
Jörn Zaefferer
7281f9f229 Update menubar to forward menu option to nested menus, update default demo to set within update to the demo frame (for /demos) or window (standalone). Update visual test to have more useful defaults 2011-06-09 17:14:21 +02:00
Jörn Zaefferer
433ed6eecf Merge remote branch 'davidmurdoch/ticket-5645' 2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Jörn Zaefferer
2d1b9b391e Widget delegation: First draft 2011-06-08 22:14:37 +02:00
gnarf
d31dd18561 effects.clip: Style Guidance, reorganizing vars for better compression 2011-06-04 16:03:15 -05:00
Scott González
e530d06c98 Tooltip: Pass the tooltip element in the open and close events. 2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Hans Hillen
6d01873dd8 Fix various pull request comments and coding standards issues 2011-05-30 23:37:14 +02:00
Jörn Zaefferer
27a4fdd8ed Spinner: disable text selection on buttons (plus minmal whitespace cleanup) 2011-05-30 20:08:58 +02:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee Tooltip: Added some comments. 2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d Tooltip: Use bgiframe if available 2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
917d2b1358 Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with. 2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19 Tooltip: Coding standards. 2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
74df32f91e Tooltip: Removed click handler. 2011-05-28 20:15:26 -04:00
Scott González
6bc220587e Tooltip: Fixed tracking of tooltip elements. 2011-05-28 19:38:01 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15 Tooltip: Added a destroy method to remove generated tooltip elements. 2011-05-28 16:20:01 -04:00
Scott González
b6aee87763 Menubar: Whitespace. 2011-05-28 15:42:28 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
2f3284811c Tooltip: Proper handled of disabled option. 2011-05-28 15:25:05 -04:00
Scott González
d43118dfba Tooltip: Cleanup. 2011-05-28 11:43:57 -04:00
Scott González
d4f6f17c8d Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations. 2011-05-28 10:18:39 -04:00
Scott González
e7be72ff06 Tooltip: Coding standards. 2011-05-27 20:05:20 -04:00
kborchers
1d984e76b7 Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed 2011-05-27 15:10:53 -05:00
Scott González
12f73d623e Merge pull request #352 from kborchers/bug_5003_3
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
2011-05-27 12:29:28 -07:00
kborchers
67bd872fe1 Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo 2011-05-27 12:01:42 -05:00
Scott González
8a972f5cce Autocomplete: Whitespace. 2011-05-27 08:35:18 -04:00
Jay Merrifield
09e88d6220 Mouse: Optimize the cancel locator, works around a bug where .add(event.target) in IE8 can take a long time when there are multiple siblings. Fixes #7118 - IE Bug Large ComboBox (Dialog) 2011-05-26 23:42:51 -04:00
Jay Merrifield
e34dbfeef0 Dialog: Removed the height() tinkering which stops the dialog from shrinking. Fixes #5916 - Dialog: shrinks on drag in IE in standards mode, worse in quirksmode. 2011-05-26 23:30:56 -04:00
David Murdoch
c7eae7b264 Dialog: Make close() a noop if the dialog is already closed. Fixes #7327 - Dialog box size and close animation bugs. 2011-05-26 19:29:11 -04:00
Jeff Remy
981e96948f Resizable: correct aspectRatio handling with min/max dimensions. Fixed #4951 - Resizable with aspectRatio true & a maxWidth doesn't obey ratio once hit max width. 2011-05-26 19:08:58 -04:00
Andrew Powell
597a313ab6 Button: adding event.preventDefault. Fixes #5945 - Disabled buttons still allow clicks 2011-05-26 12:28:25 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
tomykaira
7d232f7534 effects.scale: fix: calculate top / left by outerHeight / Width. Fixed #6096 - effects.scale origin bottom bug 2011-05-26 11:15:14 +09:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
David Murdoch
c11ac9c3f3 Now takes scrollbar width into account in collision detection 2011-05-26 00:53:16 +00:00
Hans Hillen
ab2bbd3bab Key event fix 2011-05-26 00:31:16 +02:00
Scott González
fe4ae30458 Merge pull request #294 from kborchers/bug_4088
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
2011-05-25 13:12:37 -07:00
tomykaira
129d5c75ac effects.blind: Save the wrapper status if already wrapped. Fixes #6245 - position: absolute is lost when .stop() is used with .show('blind'). 2011-05-25 15:52:53 -04:00