Commit Graph

134 Commits

Author SHA1 Message Date
Alexander Schmitz
8140d0c901 Menu: Move menu into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
cdbce0c724 Menu: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Scott González
6231b161b9 Tests: Fix AMD loading in IE8
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
bde431bb44 Tests: Rename files
Ref gh-1528
2015-04-09 09:27:00 -04:00
Scott González
dc4b015a8b Tests: Widget test helpers extend the main helper
Ref #10119
Ref gh-1528
2015-04-09 09:26:58 -04:00
Scott González
f2ca8f92f0 Menu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Jörn Zaefferer
c770605db0 Menu: Ignore bubbled mouseenter events on parent items
Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.

Fixes #11641
Closes gh-1535
2015-04-08 16:34:26 +02:00
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
Scott González
899d90709a Tests: Handle jQuery git returning null for empty attributes
jQuery now returns `null` for empty attributes instead of `undefined`.

Closes gh-1516
2015-03-25 15:55:53 -04:00
Alexander Schmitz
144826d175 Menu: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
2ebef69efe Menu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:42 -04:00
Alexander Schmitz
c192d4086d Widget: Add classes option and _add/_remove/_toggleClass methods
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Jörn Zaefferer
666f051c3a Tests: Reduce timeouts to optimize testsuite runtime 2015-03-04 23:04:07 +01:00
Jörn Zaefferer
2aabd427eb Tests: Fix style issues with missing or multiple line breaks
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Jörn Zaefferer
0bbd156918 Menu: Use ui-state-active consistently
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.

Fixes #10692
2015-01-21 18:07:43 +01:00
Lisa Seacat DeLuca
2500bb39c2 Theme: Carat should be named caret
Fixes #10683
Closes gh-1382
2014-11-03 13:40:58 -05:00
TJ VanToll
de2ef2a585 Menu: Wrap menu items in a <div>
This avoids styling issues where ui-state-focus rules apply to submenus.

Fixes #10162
Closes gh-1342
2014-10-25 10:10:30 -07:00
Scott González
6d7589351e All: Drop support for IE7
Fixes #9838
Closes gh-1365
2014-10-21 09:06:58 -04:00
Trisha Crowley
c48b18b388 Menu: Typeahead now accounts for leading whitespace
Fixes #10649
Closes gh-1356
2014-10-07 07:45:01 -04:00
TJ VanToll
6b6b49f678 Menu: Maintain focus on already selected item during typeahead
Fixes #10644
Closes gh-1354
2014-10-03 09:30:49 -04:00
Simen Bekkhus
e3e5a9ffa6 Menu: Filter out non-items when typing
Fixes #10571
Closes gh-1329
2014-09-29 14:36:46 -04:00
Mike Sherov
aa425ab95d Build: Pull in jquery.simulate.js from Bower
Fixes #10563
2014-08-22 17:01:50 -04:00
Scott González
c017628e11 Tests: Fix composite tests 2014-08-01 12:25:14 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
a40647f0e5 All: Rename jquery.js to exclude version in filename 2014-03-05 10:19:11 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Jörn Zaefferer
fe7c300374 Menu: Remove click binding that was supposed to prevent default on anchor clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets 2013-12-03 21:54:08 +01:00
Scott González
25f16855ba Menu tests: Fix line height issue in IE7 2013-12-03 10:47:01 -05:00
Scott González
6a74bf9929 Menu tests: Force line height to ensure we know how many items will be scrolled. 2013-11-20 11:14:27 -05:00
Jörn Zaefferer
3945a8f074 Menu: Update unit test that regressed from style changes (see 9910e938aa) 2013-11-15 12:51:10 +01:00
Kris Borchers
52307ebadb Menu: More precise removal of ui-state-active class for easier CSS overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item 2013-10-18 22:14:49 -05:00
Kris Borchers
31e705ab32 Menu: Add items option for better definition of menu items in non parent-child structures 2013-10-05 21:52:31 -05:00
Kris Borchers
3a61627a50 Menu: Remove the requirement to use anchors in menu items 2013-10-05 21:52:30 -05:00
Kris Borchers
485e0a0612 Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget 2013-09-17 13:03:18 -05:00
TJ VanToll
afdf898659 Menu tests: jshint cleanup of unused argument 2013-08-03 17:52:11 -04:00
TJ VanToll
484e382259 Menu: Only set the mouseHandled flag if the event is going to bubble. Fixes #9469: on( "menuselect" )
not firing every time.
2013-08-03 17:43:30 -04:00
Kris Borchers
86eaa30994 Menu tests: Whitespace and general cleanup 2013-07-15 21:54:44 -05:00
Kris Borchers
a74ac174cc Menu tests: Check default is prevented on any click on disabled menus 2013-07-14 21:52:35 -05:00
Bruno M. Custódio
0d5eaab9bb Updating jQuery to 1.10.2.
Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the
tests directory.
2013-07-05 08:42:37 -04:00
Jörn Zaefferer
628a141485 Menu tests: Fix lint error 2013-06-20 16:56:27 +02:00
TJ VanToll
91b7b9f9ab Menu: Reset ui-menu-icons class in refresh. Fixes #9377: Menu: Refreshing should recheck for menu icons 2013-06-16 22:37:36 -04:00
Bruno M. Custódio
b440979ba6 Updating 'jQuery' to 1.9.1. 2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd Updating to jQuery 1.9.0 2013-01-17 00:28:41 -06:00
Jörn Zaefferer
2c3d311f90 Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init 2012-12-27 17:23:25 +01:00
Scott González
8ec7a1b69f All: Use .addBack() instead of .andSelf(). 2012-12-14 11:13:50 -05:00
Scott González
694987f2f7 Menu tests: Better handling of async focus in IE. 2012-12-11 09:44:39 -05:00
Scott González
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Jörn Zaefferer
8b3e570241 Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus. 2012-11-05 18:42:41 +01:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00