]> source.dussan.org Git - jquery-ui.git/log
jquery-ui.git
13 years agoTabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs...
Scott González [Wed, 31 Aug 2011 00:22:35 +0000 (20:22 -0400)]
Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.

Thanks monoblaine.

13 years agoDialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would...
Corey Frang [Sat, 20 Aug 2011 23:05:39 +0000 (18:05 -0500)]
Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would everywhere, switching back to keydown.

13 years agoPosition: Added the missing div required for the fraction tests that were added to... 441/head
kborchers [Sat, 20 Aug 2011 01:19:38 +0000 (20:19 -0500)]
Position: Added the missing div required for the fraction tests that were added to fix the broken test

13 years agoDialog: Tabbing out of a modal dialog was possible because keypress doesn't fire...
Corey Frang [Fri, 19 Aug 2011 11:03:59 +0000 (06:03 -0500)]
Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog

13 years agoTooltip: Change default to flipfit for both dimensions, now that it is available...
Jörn Zaefferer [Thu, 18 Aug 2011 19:39:27 +0000 (21:39 +0200)]
Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen.

13 years agoMerge remote branch 'kborchers/position_flipfit2'
Jörn Zaefferer [Mon, 15 Aug 2011 09:32:49 +0000 (11:32 +0200)]
Merge remote branch 'kborchers/position_flipfit2'

13 years agoSpinner: Removed value option. Don't change empty values to zero on init. Don't enfor...
Scott González [Sat, 13 Aug 2011 23:05:04 +0000 (19:05 -0400)]
Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur.

13 years agoPosition: Added better collision detection for flip and fit, added visual tests for... 430/head
kborchers [Sat, 13 Aug 2011 03:19:52 +0000 (22:19 -0500)]
Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit!

13 years agoSpinner: Fixed precision when stepping.
Scott González [Sat, 13 Aug 2011 03:11:35 +0000 (23:11 -0400)]
Spinner: Fixed precision when stepping.

Thanks hughlomas

13 years agoSpinner: Moved all event handlers into an object.
Scott González [Sat, 13 Aug 2011 02:33:44 +0000 (22:33 -0400)]
Spinner: Moved all event handlers into an object.

13 years agoWidget: Use this.widget() for event delegation.
Scott González [Sat, 13 Aug 2011 02:10:31 +0000 (22:10 -0400)]
Widget: Use this.widget() for event delegation.

13 years agoCore: Added tests for :focusable and :tabbable form elements.
Scott González [Fri, 12 Aug 2011 13:37:48 +0000 (09:37 -0400)]
Core: Added tests for :focusable and :tabbable form elements.

13 years agoTabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base...
Scott González [Thu, 11 Aug 2011 20:48:58 +0000 (16:48 -0400)]
Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected.

13 years agoTabs: Cleanup.
Scott González [Wed, 10 Aug 2011 13:30:52 +0000 (09:30 -0400)]
Tabs: Cleanup.

13 years agoSpinner demo: Fixed time demo.
Scott González [Wed, 10 Aug 2011 13:19:40 +0000 (09:19 -0400)]
Spinner demo: Fixed time demo.

13 years agoSpinner: Fixed integration with globalize.
Scott González [Wed, 10 Aug 2011 13:15:47 +0000 (09:15 -0400)]
Spinner: Fixed integration with globalize.

13 years agoReplace $.global with Globalize, update Spinner to use it. Related demos currently...
Jörn Zaefferer [Wed, 10 Aug 2011 12:55:16 +0000 (14:55 +0200)]
Replace $.global with Globalize, update Spinner to use it. Related demos currently broken due to previous changes.

13 years agoDatepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 -...
Scott González [Wed, 10 Aug 2011 11:55:19 +0000 (07:55 -0400)]
Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.

This reverts commit 5f0a2f01c4609315ab66158191d3f9bd420f827f.

13 years agoSpinner: Return formatted value when using value method.
Scott González [Wed, 10 Aug 2011 01:38:19 +0000 (21:38 -0400)]
Spinner: Return formatted value when using value method.

13 years agoWidget demo: Fixed typo.
Scott González [Tue, 9 Aug 2011 20:19:18 +0000 (16:19 -0400)]
Widget demo: Fixed typo.

13 years agoWidget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data...
Scott González [Tue, 9 Aug 2011 15:45:41 +0000 (11:45 -0400)]
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.

13 years agoDatepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability...
Karl Kirch [Tue, 9 Aug 2011 13:55:50 +0000 (09:55 -0400)]
Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler.

13 years agoMouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes...
Scott González [Tue, 9 Aug 2011 13:32:01 +0000 (09:32 -0400)]
Mouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes #7620 - Mouse: Error in IE 8 with disabled inputs.

13 years agoRevert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is...
Scott González [Tue, 9 Aug 2011 12:26:33 +0000 (08:26 -0400)]
Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"

This reverts commit effdd5d19c534f8445ebafe4212278c4366b0041.

13 years agoMerge remote branch 'kou/autocomplete-destroy-search-timeout'
Jörn Zaefferer [Tue, 9 Aug 2011 10:09:52 +0000 (12:09 +0200)]
Merge remote branch 'kou/autocomplete-destroy-search-timeout'

13 years agoSpinner: Use a polynomial instead of hard-coded blocks for incremental stepping.
Scott González [Sun, 7 Aug 2011 23:21:23 +0000 (19:21 -0400)]
Spinner: Use a polynomial instead of hard-coded blocks for incremental stepping.

13 years agoSpinner: More tests. Don't trigger spin when programmatically stepping or paging.
Scott González [Sun, 7 Aug 2011 23:11:49 +0000 (19:11 -0400)]
Spinner: More tests. Don't trigger spin when programmatically stepping or paging.

13 years agoSpinner: Added more tests.
Scott González [Sun, 7 Aug 2011 22:34:03 +0000 (18:34 -0400)]
Spinner: Added more tests.

13 years agoSpinner tests: Removed IE 6 hack in destroy test.
Scott González [Sun, 7 Aug 2011 17:05:04 +0000 (13:05 -0400)]
Spinner tests: Removed IE 6 hack in destroy test.

13 years agoSpinner demos: Cleanup.
Scott González [Sun, 7 Aug 2011 16:59:50 +0000 (12:59 -0400)]
Spinner demos: Cleanup.

13 years agoSpinner: Fixed double firing of change event when setting the value option directly.
Scott González [Sun, 7 Aug 2011 16:38:01 +0000 (12:38 -0400)]
Spinner: Fixed double firing of change event when setting the value option directly.

13 years agoSpinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped...
Scott González [Sun, 7 Aug 2011 16:30:33 +0000 (12:30 -0400)]
Spinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped as a modifier.

13 years agoSpinner: Trigger change event when the value is changed programmatically.
Scott González [Sun, 7 Aug 2011 16:27:14 +0000 (12:27 -0400)]
Spinner: Trigger change event when the value is changed programmatically.

13 years agoSpinner: Re-render value if numberFormat option changes.
Scott González [Sun, 7 Aug 2011 15:35:38 +0000 (11:35 -0400)]
Spinner: Re-render value if numberFormat option changes.

13 years agoSpinner demos: Fixed line endings.
Scott González [Sun, 7 Aug 2011 15:34:28 +0000 (11:34 -0400)]
Spinner demos: Fixed line endings.

13 years agoSpinner: Use _getCreateOptions() for value.
Scott González [Sun, 7 Aug 2011 12:20:14 +0000 (08:20 -0400)]
Spinner: Use _getCreateOptions() for value.

13 years agoSpinner tests: Fixed line endings.
Scott González [Sun, 7 Aug 2011 12:10:49 +0000 (08:10 -0400)]
Spinner tests: Fixed line endings.

13 years agoSpinner tests: Cleanup.
Scott González [Sun, 7 Aug 2011 12:10:11 +0000 (08:10 -0400)]
Spinner tests: Cleanup.

13 years agoAutocomplete: ensure clear searching timeout on destroy. 425/head
Kouhei Sutou [Sun, 7 Aug 2011 06:50:34 +0000 (15:50 +0900)]
Autocomplete: ensure clear searching timeout on destroy.

13 years agoMerge branch 'spinner-getCreateOptions'
Scott González [Sun, 7 Aug 2011 00:08:50 +0000 (20:08 -0400)]
Merge branch 'spinner-getCreateOptions'

Conflicts:
ui/jquery.ui.spinner.js

13 years agoSpinner: Added comment with formula that approximates current incrementing logic.
Scott González [Sat, 6 Aug 2011 21:10:09 +0000 (17:10 -0400)]
Spinner: Added comment with formula that approximates current incrementing logic.

13 years agoSpinner: Define defaults for callbacks.
Scott González [Sat, 6 Aug 2011 21:08:50 +0000 (17:08 -0400)]
Spinner: Define defaults for callbacks.

13 years agoSpinner tests: Cleanup.
Scott González [Sat, 6 Aug 2011 21:07:12 +0000 (17:07 -0400)]
Spinner tests: Cleanup.

13 years agoSpinner: Only trigger change when the field has blurred and the value has changed.
Scott González [Sat, 6 Aug 2011 19:32:19 +0000 (15:32 -0400)]
Spinner: Only trigger change when the field has blurred and the value has changed.

13 years agoSpinner: Don't set focus on stop, focus should already be correct. Always remove...
Scott González [Sat, 6 Aug 2011 19:26:12 +0000 (15:26 -0400)]
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.

13 years agoSpinner: Keep the focus on the text field even when using the buttons.
Scott González [Sat, 6 Aug 2011 19:07:34 +0000 (15:07 -0400)]
Spinner: Keep the focus on the text field even when using the buttons.

13 years agoSpinner: Don't clear invalid values on blur (but clear the value option).
Scott González [Sat, 6 Aug 2011 17:28:25 +0000 (13:28 -0400)]
Spinner: Don't clear invalid values on blur (but clear the value option).

13 years agoSpinner: Don't stop propgation of mousedown. Added TODOs.
Scott González [Sat, 6 Aug 2011 17:27:42 +0000 (13:27 -0400)]
Spinner: Don't stop propgation of mousedown. Added TODOs.

13 years agoSpinner: Use _getCreateOptions() instead of custom _markupOptions(). 424/head
Scott González [Sat, 6 Aug 2011 16:58:37 +0000 (12:58 -0400)]
Spinner: Use _getCreateOptions() instead of custom _markupOptions().

13 years agoSpinner: Invoke _markupOptions() before _draw().
Scott González [Sat, 6 Aug 2011 16:53:49 +0000 (12:53 -0400)]
Spinner: Invoke _markupOptions() before _draw().

13 years agoSpinner: Don't stop propagation for keydown events.
Scott González [Sat, 6 Aug 2011 16:49:11 +0000 (12:49 -0400)]
Spinner: Don't stop propagation for keydown events.

13 years agoSpinner: Cleanup, use ._bind() and ._hoverable().
Scott González [Sat, 6 Aug 2011 16:38:59 +0000 (12:38 -0400)]
Spinner: Cleanup, use ._bind() and ._hoverable().

13 years agoAccordion tests: Cleanup.
Scott González [Thu, 4 Aug 2011 13:53:13 +0000 (09:53 -0400)]
Accordion tests: Cleanup.

13 years agoWidget: Update demo to work with 1.6
Jörn Zaefferer [Thu, 4 Aug 2011 17:57:36 +0000 (19:57 +0200)]
Widget: Update demo to work with 1.6

13 years agoButton: Adding quotes to the attribute selector for labels - Fixes #7534 - Button...
Corey Frang [Thu, 4 Aug 2011 03:16:34 +0000 (22:16 -0500)]
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"

13 years agoTests: Cleanup.
Scott González [Thu, 4 Aug 2011 01:43:52 +0000 (21:43 -0400)]
Tests: Cleanup.

13 years agoMenu tests: Cleanup.
Scott González [Thu, 4 Aug 2011 01:15:38 +0000 (21:15 -0400)]
Menu tests: Cleanup.

13 years agoTests: Cleanup.
Scott González [Wed, 3 Aug 2011 21:12:44 +0000 (17:12 -0400)]
Tests: Cleanup.

13 years agoAutocomplete tests: Fixed handling of cached ajax requests in IE.
Scott González [Wed, 3 Aug 2011 20:12:46 +0000 (16:12 -0400)]
Autocomplete tests: Fixed handling of cached ajax requests in IE.

13 years agoMenu: Added a navigation menu demo which shows how to handle keyboard navigation 414/head
kborchers [Wed, 3 Aug 2011 19:55:28 +0000 (14:55 -0500)]
Menu: Added a navigation menu demo which shows how to handle keyboard navigation

13 years agoAccordion tests: cleanup.
Scott González [Wed, 3 Aug 2011 17:52:36 +0000 (13:52 -0400)]
Accordion tests: cleanup.

13 years agoTests: Removed some visual tests.
Scott González [Wed, 3 Aug 2011 14:50:20 +0000 (10:50 -0400)]
Tests: Removed some visual tests.

13 years agoTabs (bottom demo): Fixed styling. Fixes #4785 - Add a tabs demo with the tabs at...
Scott González [Wed, 3 Aug 2011 13:57:06 +0000 (09:57 -0400)]
Tabs (bottom demo): Fixed styling. Fixes #4785 - Add a tabs demo with the tabs at the bottom.

13 years agoTests: Added test suites to run individual widget tests against all supported jQuery...
Scott González [Wed, 3 Aug 2011 00:41:50 +0000 (20:41 -0400)]
Tests: Added test suites to run individual widget tests against all supported jQuery versions.

13 years agoMerge pull request #413 from kborchers/bug_4333_3
Scott González [Tue, 2 Aug 2011 23:24:27 +0000 (16:24 -0700)]
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

13 years agoTabs: Better styling for bottom tabs demo. Partial fix for #4785 - Add a tabs demo...
Scott González [Tue, 2 Aug 2011 22:21:34 +0000 (18:21 -0400)]
Tabs: Better styling for bottom tabs demo. Partial fix for #4785 - Add a tabs demo with the tabs at the bottom.

13 years agoEffects: Adding a check to retain focused elements after wrapping and unwrapping...
Corey Frang [Tue, 2 Aug 2011 21:54:24 +0000 (16:54 -0500)]
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

13 years agoTests: Modified testsuites.js into a subsuiteRunner extension for QUnit.
Wesley Walser [Tue, 2 Aug 2011 16:30:29 +0000 (12:30 -0400)]
Tests: Modified testsuites.js into a subsuiteRunner extension for QUnit.

13 years agoMouse: Changed mouseHandled check to a local var rather than using originalEvent... 413/head
kborchers [Tue, 2 Aug 2011 13:36:22 +0000 (08:36 -0500)]
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE

13 years agoDatepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepi...
Scott González [Mon, 1 Aug 2011 19:28:37 +0000 (15:28 -0400)]
Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepicker Month and Year dropdowns in IE have to click twice.

Thanks jdufresne

13 years agoRevert "Mouse: Changed mouseHandled check to a local var rather than using originalEv...
Scott González [Mon, 1 Aug 2011 18:16:16 +0000 (14:16 -0400)]
Revert "Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE"

This reverts commit 9c50bdfde0260fc8412eec1c5020ed6b61558ebd.

13 years agoAutocomplete: Correcting readOnly from readonly - @scottgonzalez
Corey Frang [Fri, 29 Jul 2011 18:12:34 +0000 (13:12 -0500)]
Autocomplete: Correcting readOnly from readonly - @scottgonzalez

13 years agoMerge branch 'widget-delegation'
Jörn Zaefferer [Fri, 29 Jul 2011 12:00:00 +0000 (14:00 +0200)]
Merge branch 'widget-delegation'

13 years agoWidget delegation: Small if-simplify refactoring 372/head
Jörn Zaefferer [Thu, 28 Jul 2011 19:55:38 +0000 (21:55 +0200)]
Widget delegation: Small if-simplify refactoring

13 years agoTests: Fixed param parsing for compound test suites.
Scott González [Thu, 28 Jul 2011 18:50:06 +0000 (14:50 -0400)]
Tests: Fixed param parsing for compound test suites.

13 years agoWhitespace
Jörn Zaefferer [Thu, 28 Jul 2011 13:56:57 +0000 (15:56 +0200)]
Whitespace

13 years agoWidget delegation: Put back the simple click event handler where it was.
Jörn Zaefferer [Thu, 28 Jul 2011 13:55:56 +0000 (15:55 +0200)]
Widget delegation: Put back the simple click event handler where it was.

13 years agoWidget delegation: Further simplify menu code, blur handler also doesn't do anything
Jörn Zaefferer [Thu, 28 Jul 2011 13:53:55 +0000 (15:53 +0200)]
Widget delegation: Further simplify menu code, blur handler also doesn't do anything

13 years agoWidget delegation: Further simplify menu code
Jörn Zaefferer [Thu, 28 Jul 2011 13:52:52 +0000 (15:52 +0200)]
Widget delegation: Further simplify menu code

13 years agoWidget delegation: Update menu to use _bind with delegation. Clean up test.
Jörn Zaefferer [Thu, 28 Jul 2011 13:47:32 +0000 (15:47 +0200)]
Widget delegation: Update menu to use _bind with delegation. Clean up test.

13 years agoMerge branch 'master' into widget-delegation
Jörn Zaefferer [Thu, 28 Jul 2011 13:16:20 +0000 (15:16 +0200)]
Merge branch 'master' into widget-delegation

13 years agoSlider tests: Commented out incomplete tests and fixed defaults.
Scott González [Thu, 28 Jul 2011 12:29:29 +0000 (08:29 -0400)]
Slider tests: Commented out incomplete tests and fixed defaults.

13 years agoWidget tests: Fixed fragile tests.
Scott González [Thu, 28 Jul 2011 12:26:59 +0000 (08:26 -0400)]
Widget tests: Fixed fragile tests.

13 years agoTests: Added ability to run tests suites against different versions of jQuery core.
Scott González [Thu, 28 Jul 2011 11:34:31 +0000 (07:34 -0400)]
Tests: Added ability to run tests suites against different versions of jQuery core.

13 years agoMerge remote branch 'kborchers/menu_focus'
Jörn Zaefferer [Wed, 27 Jul 2011 19:13:41 +0000 (21:13 +0200)]
Merge remote branch 'kborchers/menu_focus'

13 years agoAdd new topalign menu demo to index, update jquery reference. Remove TODO from contex...
Jörn Zaefferer [Wed, 27 Jul 2011 13:54:40 +0000 (15:54 +0200)]
Add new topalign menu demo to index, update jquery reference. Remove TODO from contextmenu demo, it works fine.

13 years agoMerge remote branch 'kborchers/menu_topalign'
Jörn Zaefferer [Wed, 27 Jul 2011 13:50:58 +0000 (15:50 +0200)]
Merge remote branch 'kborchers/menu_topalign'

13 years agoMerge branch 'master' of github.com:jquery/jquery-ui
Jörn Zaefferer [Wed, 27 Jul 2011 13:42:41 +0000 (15:42 +0200)]
Merge branch 'master' of github.com:jquery/jquery-ui

13 years agoFinish jquery-1.6.2 migration
Jörn Zaefferer [Wed, 27 Jul 2011 13:40:53 +0000 (15:40 +0200)]
Finish jquery-1.6.2 migration

13 years agoMenu tests: Removed console.log() call.
Scott González [Tue, 26 Jul 2011 18:38:18 +0000 (14:38 -0400)]
Menu tests: Removed console.log() call.

13 years agoAccordion tests: Fixed location of expect() call.
Scott González [Tue, 26 Jul 2011 18:36:18 +0000 (14:36 -0400)]
Accordion tests: Fixed location of expect() call.

13 years agoTests: Created a composite test suite.
Scott González [Tue, 26 Jul 2011 16:15:02 +0000 (12:15 -0400)]
Tests: Created a composite test suite.

13 years agoMenu: Added top-aligned menu demo 405/head
kborchers [Tue, 26 Jul 2011 14:55:33 +0000 (09:55 -0500)]
Menu: Added top-aligned menu demo

13 years agoMenu: Added focusing first menu item when menu receives focus and collapseAll when... 406/head
kborchers [Tue, 26 Jul 2011 13:52:33 +0000 (08:52 -0500)]
Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur).

13 years agoMerge remote branch 'kborchers/menu_home_end'
Jörn Zaefferer [Mon, 25 Jul 2011 21:57:51 +0000 (23:57 +0200)]
Merge remote branch 'kborchers/menu_home_end'

13 years agoMerge branch 'master' into core-1.6.1
Scott González [Mon, 25 Jul 2011 15:53:14 +0000 (11:53 -0400)]
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

13 years agoUpgrade jQuery to 1.6.2.
Scott González [Mon, 25 Jul 2011 15:46:45 +0000 (11:46 -0400)]
Upgrade jQuery to 1.6.2.

13 years agoDatepicker: Use .attr() for size.
Scott González [Mon, 25 Jul 2011 15:13:54 +0000 (11:13 -0400)]
Datepicker: Use .attr() for size.

13 years agoTests: Fixed trailing commas.
Scott González [Mon, 25 Jul 2011 15:08:03 +0000 (11:08 -0400)]
Tests: Fixed trailing commas.

13 years agoMenu: Added Home moves to first item and End moves to last item in currently active... 397/head
kborchers [Mon, 25 Jul 2011 14:13:13 +0000 (09:13 -0500)]
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