Commit Graph

3444 Commits

Author SHA1 Message Date
Rafael Xavier de Souza
e1b0a2777a Spinner: Use Globalize 1.x 2014-06-24 21:50:56 -07: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