Scott González
8c5a6f7241
Spinner: Use a polynomial instead of hard-coded blocks for incremental stepping.
2011-08-07 19:21:23 -04:00
Scott González
2a8a77a9b2
Spinner: More tests. Don't trigger spin when programmatically stepping or paging.
2011-08-07 19:11:49 -04:00
Scott González
6c84531d7c
Spinner: Fixed double firing of change event when setting the value option directly.
2011-08-07 12:38:01 -04:00
Scott González
6c9dac29a5
Spinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped as a modifier.
2011-08-07 12:30:33 -04:00
Scott González
dd0a436c37
Spinner: Trigger change event when the value is changed programmatically.
2011-08-07 12:27:14 -04:00
Scott González
bea9933a8b
Spinner: Re-render value if numberFormat option changes.
2011-08-07 11:35:38 -04:00
Scott González
051b9e07d9
Spinner: Use _getCreateOptions() for value.
2011-08-07 08:20:14 -04:00
Scott González
e9cdd576f4
Merge branch 'spinner-getCreateOptions'
...
Conflicts:
ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
e4898fdfc6
Spinner: Added comment with formula that approximates current incrementing logic.
2011-08-06 17:10:09 -04:00
Scott González
b10c4cdab5
Spinner: Define defaults for callbacks.
2011-08-06 17:08:50 -04:00
Scott González
2b22bbdd6a
Spinner: Only trigger change when the field has blurred and the value has changed.
2011-08-06 15:32:19 -04:00
Scott González
08a7a11a1b
Spinner: Don't set focus on stop, focus should already be correct. Always remove ui-state-active on blur, since we no longer blur when interacting with buttons.
2011-08-06 15:26:12 -04:00
Scott González
64cdaa82e6
Spinner: Keep the focus on the text field even when using the buttons.
2011-08-06 15:07:34 -04:00
Scott González
fb5cad37ce
Spinner: Don't clear invalid values on blur (but clear the value option).
2011-08-06 13:28:25 -04:00
Scott González
4d2ac1abca
Spinner: Don't stop propgation of mousedown. Added TODOs.
2011-08-06 13:27:42 -04:00
Scott González
e4c0f202c8
Spinner: Use _getCreateOptions() instead of custom _markupOptions().
2011-08-06 12:58:37 -04:00
Scott González
c1da941f9f
Spinner: Invoke _markupOptions() before _draw().
2011-08-06 12:53:49 -04:00
Scott González
c4bd14f1bb
Spinner: Don't stop propagation for keydown events.
2011-08-06 12:49:11 -04:00
Scott González
6981cab9c4
Spinner: Cleanup, use ._bind() and ._hoverable().
2011-08-06 12:38:59 -04:00
Corey Frang
065aef537b
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"
2011-08-03 22:16:34 -05:00
Scott González
e15c32d067
Merge pull request #413 from kborchers/bug_4333_3
...
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 16:24:27 -07:00
Corey Frang
8108ec82db
Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy
2011-08-02 16:54:24 -05:00
kborchers
dafc941b36
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 08:36:22 -05:00
Scott González
70687f7955
Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepicker Month and Year dropdowns in IE have to click twice.
...
Thanks jdufresne
2011-08-01 15:28:37 -04:00
Scott González
350e4ab5b8
Revert "Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE"
...
This reverts commit 9c50bdfde0
.
2011-08-01 14:16:16 -04:00
Corey Frang
38028f6de1
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
2011-07-29 13:12:34 -05:00
Jörn Zaefferer
0ff3396e88
Widget delegation: Small if-simplify refactoring
2011-07-28 21:55:38 +02:00
Jörn Zaefferer
a57c435257
Whitespace
2011-07-28 15:56:57 +02:00
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