Frederik Elvhage
f7429edfe9
Widget: Improve performance of cleanData method
...
Fixes #9546
Closes gh-1291
2014-07-24 12:07:12 -04:00
TJ VanToll
c399f1f77a
Datepicker: Abstract mouseover logic to avoid explicit event trigger
...
The reliance on `.mouseover()` caused an issue in some circumstances
(see #5816 ). The removal of `.mouseover()` broke keyboard navigation
(see #10319 ).
Fixes #10319
Closes gh-1290
2014-07-23 15:10:37 -04:00
Scott González
69f25dbff7
Dialog: Track the instance as soon as the dialog is opened
...
Fixes #10152
2014-07-23 11:10:14 -04:00
Scott González
acfda4be52
Dialog: Fix stacking of modal dialog overlays
...
Fixes #10138
Closes gh-1286
2014-07-17 11:30:31 -04:00
Jyoti Deka
ffe60e39db
Resizable: Remove accidental exposure of internal data in events
...
Fixes #10148
Closes gh-1279
2014-07-16 19:14:16 -04:00
Monika Piotrowicz
b4fb51199d
Tabs: Work around bad Safari/VoiceOver heuristics
...
Move disabled tab click handlers from the container to the tablist to
prevent panel contents from being announced as clickable.
Fixes #10098
Closes gh-1261
2014-07-16 16:09:22 -04:00
TJ VanToll
3ca32b2ad8
Draggable: Manage ui-draggable-handle correctly in nested instances
2014-07-15 15:49:15 -04:00
TJ VanToll
7594a31425
Draggable: Only apply ui-draggable-handle within the draggable instance
...
Fixes #10212
Closes gh-1284
2014-07-15 15:49:00 -04:00
Scott González
2447cabd59
Effect: Create a local jQuery variable to make jQuery Color work
...
Fixes #10199
Closes gh-1282
2014-07-15 09:30:21 -04:00
Rodrigo Menezes
5730374238
Datepicker: reject dates with two year digits when expecting 'yy'
...
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -04:00
Scott González
15baf024c3
Slider: Reset positioning when orientation changes
...
Fixes #10105
Closes gh-1268
2014-07-02 17:17:05 -04:00
Scott González
450d75f912
Datepicker: Define en and en-US locales based on defaults
...
Fixes #6682
Closes gh-1269
2014-06-16 16:42:43 +02:00
Jörn Zaefferer
226cc3e9e5
Dialog: Honor preventDefault when managing focus
...
If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.
Fixes #10103
Closes gh-1265
2014-06-10 13:59:45 +02:00
Jörn Zaefferer
a0b84767a7
Dialog: Fix shift-tab handling, focus the correct element
...
Copy-paste error introduced in df6110c0d4
Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.
Ref #9646
Ref #10103
Closes gh-1264
2014-06-10 13:54:58 +02:00
Timo Tijhof
6c4005280d
Dialog: Fix off() -> unbind() for jQuery 1.6 compat
...
Follows-up c9815f13b4
.
Fixes #10072
Closes gh-1256
2014-05-27 16:05:04 -04:00
David Petersen
796a8b37e2
Spinner: Don't change value when changing min/max options
...
Fixes #9703
Closes gh-1252
2014-05-26 11:31:31 -05:00
David Petersen
f5e8041ebf
Tabs: Move aria-expanded
from active panel to active tab
...
Fixes #9622
Closes gh-1251
2014-05-19 11:36:21 -04:00
Scott González
54323e08e3
Widget: Remove misleading comment
2014-05-14 12:39:45 -04:00
TJ VanToll
48001a8c46
Autocomplete: Search if the user retypes the same value
...
Fixes #7434
Closes gh-1238
2014-05-12 13:37:13 -04:00
Scott González
8029a9763c
All: Fix typos
...
Closes gh-1237
2014-05-07 12:28:34 -04:00
Jörn Zaefferer
b22280385c
Menu: Use item.outerHeight() in _scrollIntoView
...
Fixes #9991
2014-05-06 15:06:56 +02:00
Rafael Xavier de Souza
f0b4967388
Datepicker: Remove unnecessary mouseover trigger
...
Fixes #5816
Closes gh-974
2014-05-02 17:29:20 +02:00
Scott González
fd7e1e3040
Selectmenu: Default disabled option to null
2014-04-21 10:32:49 -04:00
Daniel DeGroff
23d7d50f37
Button: Remove ui-state-active
when disabling buttons
...
Fixes #9602
Closes gh-1151
2014-04-21 09:14:54 -04:00
Scott González
62812d9c67
Selectmenu: Simplify selection of focused item via keyboard
...
Don't go through menu to select the currently focused item.
Renamed _selectMenu() to _selectFocusedItem() for clarity.
Closes gh-1224
2014-04-18 12:37:06 -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
Scott González
1849655980
Selectmenu: Cleanup
...
Ref gh-1224
2014-04-18 12:36:45 -04:00
Jörn Zaefferer
3576ceb360
Resizable: Remove bad workaround for draggable+resizable
...
This adds a compound test page for draggable+resizable, which had no coverage
before. Using that page shows that there is no way to reproduce the behaviour
described in the original ticket that caused this workaround, since its not
possible to resize an element beyond the window boundaries. Therefore removing
the workaround, which is 6+ years old and has no test coverage, seems like the
sanest approach.
Fixes #6939
Closes gh-1210
2014-04-16 18:47:15 +02:00
Scott González
baf6bc5c27
Position: Don't create $.support.offsetFractions
2014-04-03 10:54:52 -04:00
Scott González
d24cd35f0c
Core: Don't create $.support.selectstart
2014-04-03 10:52:30 -04:00
Scott González
0059722b6b
Button: Properly refresh button sets with new radio buttons
...
Fixes #8975
Ref gh-888
2014-04-01 14:42:38 -04:00
Scott González
f3ffc8c9a9
Datepicker: Fix date format for Ukranian locale
...
Fixes #9939
2014-03-31 15:29:56 -04:00
TJ VanToll
dfc5c34320
Slider: Switch handles from <a href="#"> to <span tabindex="0">
...
Fixes #9890
Closes gh-1207
2014-03-07 09:31:42 -05:00
TJ VanToll
fe420c0eac
Selectmenu: Add UMD wrapper
2014-02-21 14:56:13 -05:00
Jörn Zaefferer
df6110c0d4
Core: Deprecate .focus( n ), replace in dialog with explicit timeouts
...
Fixes #9646
2014-02-21 19:57:34 +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
Rafael Xavier de Souza
347c7c4db1
I18n: Avoid indenting an entire file
...
Make code identation consistent with every other source.
2014-02-19 12:14:08 -03:00
Rafael Xavier de Souza
086dad66c4
I18n: Rename all files, removing the "jquery.ui." prefix
...
Amend fix for 21154cfa2e02ef1814a6aff68b14553bdad165cb;
Ref #9464
Ref gh-1029
2014-02-19 12:11:46 -03:00
Mike Sherov
7017805745
Draggable: fix current JSCS violations.
2014-02-18 12:48:06 -05:00
TJ VanToll
83b3d67175
All: Updating copyright year to 2014
2014-01-28 22:25:02 -05:00
Yermo
605a20ef06
Autocomplete: Do not set value on multi-line input
...
This fixes an issue where contenteditable text was getting overwritten when
wrapping past the bottom or top of the autocomplete menu.
Fixes #9771
Closes gh-1184
2014-01-28 12:35:16 -05:00
TJ VanToll
ccb13240dd
Button: Ignore non-radio elements with the same name
...
Fixes #8761
Closes gh-1185
2014-01-28 10:58:30 -05: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
Rafael Xavier de Souza
234f7f3c0e
All: Remove "Depends" comment
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:42 -02:00
Rafael Xavier de Souza
1216e2aaf5
All: Wrap I18n files with UMD return exports
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:31 -02:00
Rafael Xavier de Souza
96e027e4b1
All: Wrap source files with UMD return exports
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:14 -02:00
Scott González
113e9d0c2c
Autocomplete: Normalize falsy values, not just missing values
...
Fixes #9762
2014-01-22 10:40:19 -05:00
Scott González
2ef1b16e4d
Autocomplete: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9755
2014-01-20 16:20:11 -05:00
Ben Higgins
0bb807bb42
Draggable: fix changing containment
...
If containment was set such that relative_container is set by
_setContainment, and then containment changes to e.g. "document",
"window", or an array, relative_container would not be unset, causing
incorrect containment of the draggable.
Add a unittest to check that containment with an array works after
previously being set to "parent".
Fixes #9733
Closes gh-1176
2014-01-20 13:08:12 -05:00
Ruslan Yakhyaev
be2a339b2b
Widget: Support events with dashes and colons
...
Fixes #9708
Closes gh-1159
2014-01-16 12:12:04 -05:00
TJ VanToll
28310ff55f
Slider & Interactions: Add Windows 8 touch support
...
Fixes #9709
Fixes #9710
Closes gh-1152
2014-01-15 15:38:10 -05:00
Thomas Meyer
1bbbcc723c
Position: Avoid reading overflow css on documents
...
Fixes #9533
Closes gh-1072
2014-01-15 05:17:50 -05:00
Kris Borchers
20c1648f68
Resizable: Only resize/reposition if size is greater than specified grid
...
Fixes #9611
Closes gh-1132
2014-01-15 04:37:32 -05:00
Andrei Picus
23c7d367b1
Sortable: Cleanup
...
Closes gh-1168
Closes gh-1169
2014-01-15 04:10:10 -05:00
Dylan Barrell
0b28d597fe
Autocomplete: Announce autocomplete correctly in all ATs.
...
Fixes #9631
Closes gh-1153
2014-01-14 11:09:49 +01:00
Scott González
6ec452cc63
Datepicker: Fix Spanish locale data
...
Fixes #9735
Closes gh-1166
2014-01-10 10:51:57 -05:00
Michael Wiencek
0dc84db853
Tooltip: Preserve the title after disabling twice
...
Fixes #9719
Closes gh-1154
2014-01-09 20:38:08 +01:00
Jyoti Deka
9413043a9e
Resizable: whitespace fixed
...
Closes gh-1162
2014-01-09 19:41:25 +01:00
Scott González
a8ff77360b
Tooltip: Only bind remove handler for delegated tooltips
...
The remove handler was being added for every tooltip, but only removed for
delegated tooltips. The default destroy behavior already handles non-delegated
tooltips, so the handler should only be added for delegated tooltips.
Fixes #9531
Closes gh-1156
2014-01-09 04:12:35 -05:00
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
Scott González
b7e3e4636f
Resizable: Moved helper methods into the widget prototype.
2013-10-24 09:19:42 -04:00
Scott González
8dbda00896
Slider: Move numPages into the widget prototype.
2013-10-24 09:19:41 -04:00
Scott González
3317ec8990
Blind effect: Moved regexes into effect definition.
2013-10-24 09:19:41 -04:00
Scott González
d0002569d3
Droppable: Moved isOverAxis() into $.ui.intersect().
2013-10-24 09:19:41 -04:00
Scott González
d6f85644d4
Dialog: Move option category hashes into the widget prototype.
2013-10-24 09:19:41 -04:00
Scott González
da185a6c15
Accordion: Use .uniqueId() and move animation properties into the widget prototype.
2013-10-24 09:19:41 -04:00
Felix Nagel
2c7e3389bc
Selectmenu: remove widthMenu option and rename widthButton option to width
2013-10-24 00:11:10 +02:00
Felix Nagel
80d2c1180a
Selectmenu: lint fix
2013-10-21 21:18:33 +02:00
Felix Nagel
67e7f18d08
Selectmenu: add ui-state-active class to active list item
2013-10-21 20:39:15 +02:00
Felix Nagel
fab6b8883e
Merge branch 'master' into selectmenu
2013-10-21 20:33:49 +02:00
Mike Sherov
4bd1a9c5ba
Draggable: Make sure positional constraints are never applied to ui.originalPosition
2013-10-21 11:20:03 -04:00
Jörn Zaefferer
619261f079
Datepicker: Finnish date format doesn't have padding for day and month. Fixes #9609 - Datepicker: Correct the Finnish date format
2013-10-21 14:24:10 +02:00
Mike Sherov
94f8c4d5e9
Draggable: apply axis options to position instead of style. Fixes #7251 - Draggable: constrained axis option returns incorrect position.
2013-10-20 19:46:05 -04: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
14065dc23b
Resizable: Store size based on calculated helper size to prevent 1 pixel shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid
2013-10-18 22:12:46 -05:00
Jörn Zaefferer
7b9c810b9a
Autocomplete: Append liveRegion to body to support detached init. Fixes #9590 - Dynamically adding input field breaks auto-complete's accessibility for screen readers
2013-10-19 00:27:51 +02:00
Andrei Picus
06c4387bc9
Sortable: Fix typo and break lines in comment.
2013-10-18 17:30:32 +02:00
Jyoti Deka
93a2dcde52
Slider: Remove unnecessary 3rd argument in _slide method when calling this.values()
2013-10-18 17:24:01 +02:00
Jörn Zaefferer
5ee3a2a7fd
Revert "Slider: Remove unnecessary 3rd argument in _slide method when calling this.values()"
...
This reverts commit b715e1d3cc
.
Reverting to fix author email address to avoid CLA issues in the future.
2013-10-18 17:21:23 +02:00
Jyoti Deka
b715e1d3cc
Slider: Remove unnecessary 3rd argument in _slide method when calling this.values()
2013-10-18 17:18:18 +02:00
Jyoti Deka
ecde7cd41a
Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
2013-10-16 22:22:28 +02:00
Felix Nagel
7af3dab075
Selectmenu: Remove links in menu items
2013-10-10 01:01:41 +02:00
Felix Nagel
e26e0df3af
Merge branch 'master' into selectmenu
2013-10-10 00:08:49 +02: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
e08791d2c1
Autocomplete: Don't add anchors to items in generated menu
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
Scott González
e14f75ed48
Tabs: Keep reference to existing tablist during refresh. Fixes #9584 - Tabs: Refresh issue when tabs are moved to bottom.
2013-10-04 10:10:30 -04:00
Scott González
ed09ee5b75
Dialog: Added note explaining that _on() is safe to use for shared handlers because of stacking.
2013-10-03 12:09:50 -04:00
Stephane Deschamps
b67d1037a8
Day TH's: scope=col. Closes gh-1074
...
A TH must feature a way to know which span of TD's it applies to, and in simple tables such as date tables, this can be achieved through the use of the scope attribute.
2013-10-02 17:28:12 +02:00
Jörn Zaefferer
e263ebda99
Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.
...
Fixes #9166 - Dialog: moveToTop implementation resets flash/video/iframe/scroll
Fixes #9364 - Dialog: Click of element with tooltip scrolls the dialog to the top
2013-10-02 17:02:28 +02:00
TJ VanToll
2dfe85d3e2
Dialog: Safe activeElement access.
...
Fixed #9420 - Dialog: Close causes blur of window in IE9
Fixed #8443 - Dialog: "unspecified error" when using ie9 and iframe
2013-10-01 09:22:07 +03:00
Felix Nagel
f2d06bf063
Selectmenu: add widthMenu and widthButton options
2013-09-29 15:33:14 +02:00
TJ VanToll
e6360ab846
Spinner: Only format the value when there is one. Fixes #9573 - Spinner: forces a field validation in Firefox before field loses focus or form is submitted
2013-09-27 14:23:07 -04:00
Felix Nagel
b1532ed4ae
Selectmenu: Click on button text does not open menu in Webkit browsers
2013-09-26 01:10:16 +02:00
Felix Nagel
b80681c74e
Selectmenu: remove unneeded variable usage
2013-09-25 22:30:13 +02:00
Felix Nagel
12dba998f1
Selectmenu: do not follow anchor link when item is clicked
2013-09-25 22:27:03 +02: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
Scott González
f416a66f59
Selectmenu: Code review.
2013-09-16 14:45:48 -04:00
Scott González
134fcafdda
Merge branch 'master' into selectmenu
2013-09-16 11:58:05 -04:00
Scott González
d13df39e39
Widget: Only remove hover and focus classes when disabling, not enabling. Fixes #9558 - Widget: .enable() while already enabled kills ui-state-focus and ui-state-hover.
2013-09-16 11:57:35 -04:00
Jörn Zaefferer
1552fc8a05
Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method
2013-09-13 00:16:31 +02:00
Jörn Zaefferer
6e799c39d3
Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional.
2013-09-11 22:26:34 +02:00
Felix Nagel
bdfe7196a2
Selectmenu: lint fix
2013-08-31 11:50:53 +02:00
Felix Nagel
cf6dbd8b6b
Merge branch 'master' into selectmenu
2013-08-31 03:12:22 +02:00
Felix Nagel
67f04e4e42
Selectmenu: update button text when selected option is added
2013-08-31 03:09:57 +02:00
TJ VanToll
eae2c4b358
Draggable: Safe activeElement access from iFrames for IE9, prevent window focus changes in IE9+. Fixed #9520 - Draggable: Browser window drops behind other windows in IE9/10
2013-08-28 11:35:21 -04:00
Scott González
e628d0e4ba
Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: Capitalize 'close' for closeText option.
2013-08-15 16:56:49 -04:00
Mike Sherov
263d078944
Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - Draggable: jumps down with offset of scrollbar
2013-08-12 19:32:01 -04:00
Kris Borchers
5a24ee0485
Selectmenu: Override menu's _closeOnDocumentClick function to prevent collapseAll and manually fix focus state on open
2013-08-11 19:17:34 -05:00
Kris Borchers
ec61e54e6f
Merge branch 'master' into selectmenu
2013-08-11 19:16:41 -05:00
Kris Borchers
cceb163548
Menu: Make check for click outside of menu a function which can be overridden. Fixes #8929 - Menu needs adjustement for use in Selectmenu
2013-08-11 19:11:23 -05:00
Scott González
c9815f13b4
Dialog: Search the correct document for focus trapping. Fixes #9439 - Dialog: Context is not respected for modals.
2013-08-07 08:57:36 -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
Siebrand Mazeland
a3770884ac
Position: Replace double space with single space.
2013-08-02 10:02:27 -04:00
Vilhjálmur Skúlason
369c76d9e6
Datepicker: Fixed Icelandic locale. Fixes #9431 - Datepicker: Wrong dateformat for Icelandic datepicker locale.
2013-08-01 15:39:56 -04:00
Alexander Schmitz
c0ab71056b
Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget factory: Return the constructor from $.widget().
2013-07-31 16:52:21 -04:00
Felix Nagel
34e10c1f87
Merge branch 'master' into selectmenu
2013-07-26 19:28:03 +02:00
TJ VanToll
9470af0bbe
Accordion: Avoid resetting outline on headers. Fixes #9352 : Accordion - Active header has no focus indicator
2013-07-20 17:27:49 -04:00
Gabriel Schulhof
bc857424a3
Widget: Make .enable() and .disable() act via ._setOptions() instead of ._setOption().
2013-07-17 21:00:01 -04:00
Felix Nagel
e217c40287
Selectmenu: introduce _position method for easier extending
2013-07-11 00:45:54 +02:00
Felix Nagel
da4e23874d
Selectmenu: remove ui-front from button
2013-07-09 23:03:40 +02:00
Felix Nagel
05832d6b6a
Merge branch 'master' into selectmenu
2013-07-09 22:55:35 +02:00
Felix Nagel
009aa6a953
Selectmenu: add ui-front class to all appended elements
2013-07-09 22:49:08 +02:00
Scott González
382a77502e
Widget: Remove leftover back-compat handling for widget instance storage (see #8801 ).
2013-07-09 11:12:29 -04:00
Scott González
4148acfa9a
Tabs: Prevent default action of clicks even when disabled. Fixes #9413 - Tabs: Disabled tabs are still clickable.
2013-07-03 14:38:49 -04:00
Felix Nagel
c571f7bea9
Merge branch 'master' into selectmenu
2013-07-01 23:23:50 +02:00
Felix Nagel
ff1bb14579
Selectmenu: prevent widget from item looping
2013-07-01 22:23:12 +02:00
Gan Eng Chin
e591a7a9af
Datepicker i18n: Removed "<" in the "Anterior" text for the pt locale.
...
Removed "<" in the "Anterior" text, so that it is consistent with "Seguinte".
2013-06-26 09:02:59 -04:00
Felix Nagel
9992d4626e
Merge branch 'master' into selectmenu
2013-06-24 20:28:10 +02:00
Rafael Xavier de Souza
d0c613d3a8
Effect: Give puff-effect and size-effect its own files. Previously, they were into scale-effect file.
2013-06-22 11:37:37 -03:00
TJ VanToll
670f650b99
Menu: Ensure an event was passed before checking its type. Fixes #9384 - Menu: _focus function forgets null check with doing a pattern match on event.type
2013-06-20 20:40:00 -04:00
Steven Luscher
fcd1cafac8
Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable
2013-06-19 18:07:38 -04:00
Steven Luscher
bca3e058e8
Clicking on a draggable anchor without moving it should make it the active element ( Fixes #8399 ).
2013-06-19 08:38:57 -04: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
Jörn Zaefferer
ffc7d310d4
Merge branch 'master' into selectmenu
2013-06-05 14:44:44 +02:00
Scott González
2ba75e2c93
Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.
2013-06-03 15:14:46 -04:00
Scott González
16c375d374
Dialog: Use proper position data after drag and resize. Fixes #9351 - Dialog: Incorrect value for position option after resize.
2013-05-31 15:01:15 -04:00
Felix Nagel
57fa48281c
Merge branch 'master' into selectmenu
2013-05-30 21:28:15 +02:00
Felix Nagel
bfd3c4aace
Selectmenu: remove unused var
2013-05-30 21:25:36 +02:00
Felix Nagel
7be7d96ee2
Selectmenu: use that.focusIndex != null instead of !== undefined when checking first focus event
2013-05-30 21:25:15 +02:00
Felix Nagel
dfbd712d99
Selectmenu: fire focus event when menu is opened
2013-05-30 21:05:48 +02:00
Felix Nagel
a572f72dde
Selectmenu: do not call focus menu method when close method us used
2013-05-30 21:04:45 +02:00
Steven Luscher
699756942f
Droppable: Style guide conformance.
2013-05-29 08:42:25 -04:00
Steven Luscher
a4fc7a9e96
Droppable: Defer querying of offsetWidth and offsetHeight until they're required. Fixes #9339 - Droppable: offsetWidth and offsetHeight are queried unnecessarily causing synchronous reflow.
2013-05-29 08:41:30 -04:00
Christian Klammer
6df5c1a4ae
Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents
2013-05-29 08:18:58 -04:00
Scott González
9e00e00f3b
Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously.
2013-05-28 11:04:42 -04:00
Felix Nagel
cccb8c6e82
Merge branch 'master' into selectmenu
2013-05-24 19:47:42 +02:00
TJ VanToll
c19e7b3496
Dialog: Add type="button" to the close button. Fixed #9312 : Dialog: closes on enter in textbox in IE.
2013-05-23 19:57:32 -04:00
Scott González
daf3f0d9af
Tabs: Restore anchor cloning for remote tab testing. Fixes #9317 - Tabs: Incorrect remote tab detection in IE7.
2013-05-22 13:59:33 -04:00
Brian Grinstead
24756a978a
Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: cannot drag element inside iframe
2013-05-20 22:10:04 -04:00
David Hansen
433ef9d433
Interactions: Fixed an off-by-one error in isOverAxis.
2013-05-20 21:30:16 -04:00