Commit Graph

3395 Commits

Author SHA1 Message Date
Jörn Zaefferer
247257ebc9 Menu: Fix var declaration and move regex comment to the right place.
Follow-up to a6806ab1
2014-01-08 18:15:04 +01:00
Daniel DeGroff
af85dfcafb Tooltip: On close and destroy only set title if empty or undefined
Ticket #8925 states that changes to the title attribute while the
tooltip is open are lost on tooltip close.

In the close and destroy functions, the title attribute is always
written if a value was stored in the element on open. It is possible
the attribute has changed and restoring the initial value may overwrite
the current value.

If the value is empty or undefined as set in open, do not set the title
attribute.

This fix has the limitation that if the user removed the title
attribute or set the value to an empty string the original title value
would be restored on close and destroy.

Fixes #8925
2014-01-06 16:10:02 +01:00
Dylan Barrell
b9e438d07c Tooltip: Improve accessibility by adding content to an aria-live div
Fixes #9610
Closes gh-1118
2013-12-19 10:36:30 -05:00
Felix Nagel
c9042b960f Selectmenu: fix lint issue 2013-12-18 20:11:29 +01:00
Felix Nagel
3dfa08f227 Selectmenu: Fix empty option processing
Ref #9701
2013-12-18 19:30:48 +01:00
Felix Nagel
a6806ab17a Menu: Add _isDivider method
Ability to prevent generation of dividers from items

Fixes #9701
2013-12-18 19:29:41 +01:00
Jyoti Deka
bc8e75059c Resizable: remove redundant comments and whitespace 2013-12-15 13:04:38 -05:00
Jyoti Deka
20f064662a Resizable: containment plugin restricts resizing within container
Fixes #7018
Fixes #9107
Closes gh-1122
2013-12-15 12:57:29 -05:00
Jyoti Deka
bae1a25b14 Resizable: fix whitespace on containment plugin 2013-12-15 12:38:18 -05:00
Jyoti Deka
c03cb8079c Resizable: containment now works with non - immediate children
Fixes #7485
Closes gh-1130
2013-12-15 12:29:55 -05:00
Jyoti Deka
ec5f395260 Resizable: modified to allow resizing when resizables are nested.
Fixes #5025
Closes gh-1149
2013-12-14 16:08:44 -05:00
Jörn Zaefferer
3e57b29267 JSCS config: Set requireSpaceBeforeBinaryOperators, fix occurences 2013-12-09 13:02:19 +01:00
Jörn Zaefferer
8b14e49994 JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences 2013-12-09 12:55:17 +01:00
Felix Nagel
06bcd8eb62 Selectmenu: update button width on refresh 2013-12-07 19:10:50 +01:00
Jörn Zaefferer
6a483fd143 Autocomplete: Whitespace 2013-12-07 18:00:20 +01:00
Jörn Zaefferer
9de1eb0a23 Accordion: Whitespace 2013-12-07 18:00:07 +01:00
Jörn Zaefferer
c3d382e901 Menu: Remove preventDefault for disabled menu items, since there is no default on list items. Follow-up to fe7c300374 and the anchor removal in general 2013-12-03 21:57:58 +01: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
Jörn Zaefferer
4992fc902e Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top 2013-12-03 17:03:01 +01:00
Mike Sherov
44b2180782 Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div
Core: update scrollParent() to support all current supported browsers.
2013-12-03 10:08:12 -05:00
Felix Nagel
a9b18bcfec Selectmenu: add 1px to menu width to avoid wrapping long text in IE10 2013-11-26 00:56:50 +01:00
Jörn Zaefferer
9a5f20bc7d Merge branch 'master' into selectmenu 2013-11-25 14:29:30 +01:00
Scott González
f848ae38e0 Build: Include es3 option for JSHint. 2013-11-22 09:54:27 -05:00
Jörn Zaefferer
1096f19f37 Dialog: Keep track of instances to focus when elements outside the dialog get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9 2013-11-20 16:04:13 +01:00
Jörn Zaefferer
4f80bc6ecd Selectmenu: Fix code style issue 2013-11-16 12:30:46 +01:00
Jörn Zaefferer
43772f3e5b Merge branch 'master' into selectmenu 2013-11-16 12:25:21 +01:00
Jörn Zaefferer
9fd0e86820 Dialog: Update code style, adding whitespace around string arguments and array indices 2013-11-15 16:48:31 +01:00
Jörn Zaefferer
0e5a2e126a Dialog: Restore focus to the previously focused element when window regains focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element 2013-11-15 08:16:24 +01:00
Felix Nagel
51b0429713 Selectmenu: simplify and fix document click event 2013-11-13 19:55:31 +01:00
Felix Nagel
ab2219b6ac Merge branch 'master' into selectmenu 2013-11-13 19:45:56 +01:00
Jörn Zaefferer
0e192979d0 Fix various coding style issues 2013-11-13 19:20:16 +01:00
Scott González
9910e938aa Menu: Simplify styling. Remove rounded corners, reduce spacing. 2013-11-13 18:41:47 +01:00
Scott González
874865842b Tabs: Don't decode URLs if they're not UTF-8. Fixes #9518 - Tabs: URLs encoded in anything other than UTF-8 will throw an error. 2013-11-13 12:29:29 -05:00
Imants Horsts
629c632a11 Datepicker: Corrected values for Latvian locale. Fixes #9656 - Datepicker: Incorrect values in Latvian localization. 2013-11-13 07:09:10 -05:00
Kris Borchers
601ad962e0 Sortable: Adjust itemWithLeastDistance algorithm in _contactContainers to properly handle dragging items to the beginning and ends of lists. Fixes #9314 - Sortable: Items cannot be dragged directly into bottom position. Fixes #9381 - Sortable: Connected list placeholders have an inaccurate initial position 2013-11-01 15:17:05 -05:00
Felix Nagel
a6c5f58d82 Selectmenu: follow-up to close menu on other element mousedown not on click 2013-10-30 21:36:03 +01:00
Felix Nagel
11186cc10a Selectmenu: make sure ui-state-focus class is set on button after initial focus 2013-10-29 21:49:17 +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
f3e4b24485 Selectmenu: improve disabled item handling 2013-10-29 19:52:54 +01:00
Andrei Picus
ffab89e9be Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization. 2013-10-29 13:58:15 -04:00
Fabrício Matté
8b64322e98 Button: Remove obsolete mouse click coordinates checking. Fixed #7665 - Button: Radio button & checkboxes ignore mouseclicks for minor mouse movements. 2013-10-29 12:51:17 -04:00
Monika Piotrowicz
f16d0c7e26 Accordion: moving aria-expanded from active tabpanel to active tab. Fixed #9407 - Accordion: aria-expanded attribute on wrong element 2013-10-28 10:32:25 -04:00
Scott González
9e6095a646 Core: Move variables for .uniqueId()/.removeUniqueId() into their implementations. 2013-10-24 09:19:42 -04:00
Scott González
8a9fb52822 Datepicker: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
46b8915eb0 Position: Wrap everything in an IIFE to avoid name collisions when the build strips the main closure. 2013-10-24 09:19:42 -04:00
Scott González
5801a7ef65 Spinner: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
47db52b9c9 Widget: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
f64c953497 Tooltip: Use .uniqueId() and move aria-describedby helper methods into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
ecd4f95a50 Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
604e0949e3 Sortable: Moved helper methods into the widget prototype. 2013-10-24 09:19:42 -04:00