Commit Graph

2157 Commits

Author SHA1 Message Date
Jörn Zaefferer
5e35a0c55b Widget delegation: Put back the simple click event handler where it was. 2011-07-28 15:55:56 +02:00
Jörn Zaefferer
5b45d618dc Widget delegation: Further simplify menu code, blur handler also doesn't do anything 2011-07-28 15:53:55 +02:00
Jörn Zaefferer
9e2efe95b2 Widget delegation: Further simplify menu code 2011-07-28 15:52:52 +02:00
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