Felix Nagel
ac9ca9e52c
Menu: Support number pad keyboard input
...
Fixes #15031
Closes gh-1732
2016-08-24 11:56:26 -04:00
Amanpreet Singh
d00c5641b9
Selectmenu: Shift to use no globals
2016-04-14 00:14:57 +05:30
Alexander Schmitz
bff8277fbc
Selectmenu: Prepend icon and move overflow to text span
...
Fixes #14938
Closes gh-1685
2016-03-30 11:53:28 -04:00
Alexander Schmitz
20466d5027
Selectmenu: Fixed selectmenu icon float right
...
Also removes the icon space as its not needed with a floated icon
Fixes #14914
Closes gh-1671
2016-02-24 11:29:44 -05:00
Jörn Zaefferer
39853fda45
Selectmenu: Handle form resets
...
Fixes #12236
Ref gh-1550
2015-10-27 10:28:04 -04:00
Jörn Zaefferer
3570cc5a2b
Tests: Fix button space assertions on IE8
...
IE8 still doesn't keep the space in the text (or HTML) representation.
We don't really care, so adding more trims in these tests as well.
2015-10-25 11:25:00 -04:00
Alexander Schmitz
6b05034283
Selectmenu: Address review comments
2015-10-08 14:02:57 -04:00
Alexander Schmitz
9f7f0a4279
Selectmenu: update to use button css
...
This ensures consistency between different form elements
2015-10-07 10:57:59 -04:00
Alexander Schmitz
cfd48ed037
Selectmenu: Style updates
...
Ref #14246
2015-09-11 08:29:07 -04:00
Alexander Schmitz
7e43405269
Selectmenu: Style updates
...
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
e7c9e8877e
Selectmenu: Move selectmenu into widgets folder
...
Ref #13885
2015-08-08 00:29:39 -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
3522fd9618
Selectmenu: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04: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
Alexander Schmitz
8eb29fd90c
Selectmenu: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:40 -04:00
Alexander Schmitz
3483486a15
Selectmenu: Add classes option
...
Ref #7053
Ref gh-1411
2015-03-11 16:05:07 -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
Scott González
af4c35df9d
Selectmenu: Support width: false
and default to 14em
...
`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.
Fixes #11198
Closes gh-1467
2015-03-05 11:42:49 -05: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
Scott González
65584c1640
Selectmenu: Better handling when there are no options
...
Fixes #10662
Closes gh-1370
Closes gh-1423
2015-01-12 13:00:38 -05:00
Felix Nagel
979373983b
Selectmenu: Copy title attributes
...
Fixes #10435
Closes gh-1298
2014-11-04 08:40:15 -05:00
Felix Nagel
fb4124b7af
Selectmenu: Introduce _renderButtonItem() method
...
Fixes #10142
Closes gh-1299
2014-11-04 08:02:48 -05:00
TJ VanToll
e9643f6bfc
Selectmenu: Re-add wrappers to menu items
2014-10-25 10:10:38 -07: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
4ad45991e6
Selectmenu: Remove unused var in test
2014-07-29 15:18:46 -04:00
Scott González
64faf2da0a
Selectmenu: Don't check menu width in width option tests
2014-07-29 15:02:36 -04:00
Scott González
45e13ed208
Selectmenu: Properly set width for button
...
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -04:00
TJ VanToll
c29b4434b6
Tests: Use closeEnough() to account for rounding differences
...
Selectmenu's test suite broke with b0e8380
, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.
Closes gh-1275
2014-06-25 12:16:29 -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
Scott González
23ea063b3c
Selectmenu: Work around test bug in IE
2014-04-24 08:38:09 -04:00
Scott González
69a3d94a06
Selectmenu: Test cleanup
2014-04-22 18:24:04 -04:00
Scott González
bdb0f7a4cb
Selectmenu: Test cleanup
2014-04-22 12:57:05 -04:00
Scott González
56f6f92314
Selectmenu: Test cleanup
2014-04-22 12:19:12 -04:00
Scott González
d8062dc4cf
Selectmenu: Test cleanup
2014-04-21 20:15:36 -04:00
Scott González
fd7e1e3040
Selectmenu: Default disabled option to null
2014-04-21 10:32:49 -04:00
Scott González
8b2606a650
Selectmenu: Fix reference to jQuery in tests
2014-04-21 10:11:55 -04:00
Scott González
712ac17fc7
Selectmenu: Remove unused var
2014-04-18 12:46:41 -04:00
Scott González
1272fca9ef
Selectmenu: Don't use active items at all
...
Menus only use active items for nested menus which selectmenu doesn't support.
Selectmenu should only be working with focused items.
Ref gh-1224
2014-04-18 12:37:06 -04:00
Jörn Zaefferer
0c754f9d9e
Selectmenu: Refactor appendTo option tests
2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18
Selectmenu: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9757
2014-02-21 13:35:34 +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
Felix Nagel
0cc8554077
Selectmenu Tests: add unit tests for empty options
2013-12-18 19:05:17 +01:00
Felix Nagel
1656cd2f34
Selectmenu Tests: add unit and visual tests for width option
2013-12-07 19:10:50 +01:00
Felix Nagel
027d8d4cab
Selectmenu: close menu on other element mousedown not on click
2013-10-29 20:54:16 +01:00
Felix Nagel
480e89b1aa
Selectmenu Tests: remove widthMenu option and rename widthButton option to width
2013-10-24 00:17:22 +02:00
Felix Nagel
7af3dab075
Selectmenu: Remove links in menu items
2013-10-10 01:01:41 +02:00