Felix Nagel
9bb209cc94
Calendar: Introduce getter / setter for date and viewDate
2017-04-14 11:32:02 +02:00
Felix Nagel
5ee64dd0e0
Calendar: Introduce build methods for year and month title
2017-04-12 22:47:27 +02:00
Felix Nagel
c1cb6e3398
Calendar: Use widget extension to render year and month select
2017-04-12 22:32:48 +02:00
Felix Nagel
7ef7f3ab9e
Datepicker tests: Add ARIA tests
2017-03-31 22:11:17 +02:00
Felix Nagel
b09c7e8cee
Calendar tests: Add basic ARIA attribute tests
2017-03-31 21:51:08 +02:00
Felix Nagel
27f9f87fa2
Calendar tests: Remove unused and outdated daylight saving tests
2017-03-31 21:33:06 +02:00
Felix Nagel
6d81c03493
Date: Rename and improve timestamp and day getter and setter
2017-03-31 21:31:45 +02:00
Felix Nagel
a31bc8b7ee
Date tests: Add basic timestamp tests
2017-03-31 21:30:40 +02:00
Felix Nagel
4267e4283c
Merge branch 'master' into datepicker
...
# Conflicts:
# ui/i18n/datepicker-sv.js
# ui/widgets/datepicker.js
2017-03-30 23:18:25 +02:00
Albert Johansson
032ddc3349
Datepicker: Corrections for Swedish localization
...
Months and weekdays should be in small caps in Swedish.
https://sv.wikipedia.org/wiki/Versalisering
Fixes #15142
Closes gh-1799
2017-03-01 13:43:47 -05:00
Scott González
1f2011ece3
Widget: Don't swallow errors in remove
events
...
The try/catch was only there to support jQuery <1.6.3, which we no
longer support.
Ref jquery/jquery#3554
2017-02-28 09:51:59 -05:00
Konstantin Dinev
278d1e1108
Resizable: Keep user defined handles on _setOption
...
Fixes #15084
Closes gh-1795
2017-02-24 14:30:58 -05:00
Scott González
a3b9129be1
Spinner: Ignore mousewheel
events when not focused
...
Fixes #15139
Closes gh-1794
2017-02-21 12:45:19 -05:00
Scott González
162377fba2
Build: Add missing semicolon
2017-02-06 10:20:50 -05:00
Eirik Sletteberg
4fa0267edc
Qunit: Add bootstrap config for running tests with jQuery Migrate
...
Closes gh-1774
2017-02-06 08:23:18 -05:00
Jörn Zaefferer
c1f96f11cc
Build: Add jQuery as explicit dependency, with min and max range
...
1.7.0 is our minimum supported version, 3.x.x our maximum.
Closes gh-1779
Closes gh-1790
2017-01-25 13:53:50 -05:00
Felix Nagel
188550faff
Calendar: Make sure option numberOfMonth could be changed after creation
2017-01-25 18:29:45 +01:00
Felix Nagel
00a470b435
Calendar: Remove aria hidden on day cells
2017-01-25 18:29:45 +01:00
claudi
17404ced47
Datepicker: Fix prev/next button behavior with showCurrentAtPos
...
Fixes #15102
Closes gh-1784
2017-01-25 11:14:57 -05:00
Ryan Oriecuia
573e7e69c9
Autocomplete: Fix IE/Edge scrolling issues
...
IE11 and scrolling autocompletes didn't get along great; this should help fix
their relationship.
When you click on an autocomplete scrollbar in IE11, the menu temporarily
gains focus, which caused a couple problems.
1. Depending on how long you clicked, the dropdown could close.
2. Scrolling down by clicking the scrollbar's down arrow would misbehave. The
list would pop back up to the top with the first item selected.
We can fix both problems by modifying the focus/blur handling a bit.
1. There is a flag to instruct the control to ignore blurs, but it was getting
cleared too quickly; when the code refocused the input after it was blurred,
IE would send *another* blur event, which wasn't getting ignored and would
close the dropdown. We now wait for the focus/blur pair to process before
clearing the flag.
2. We remove the tabindex from the dropdown menu, which prevents menu's focus
handler from firing. When you focus a menu, it will select the first menu item
if none are selected. Selecting a menu item will scroll it into view if it's
not visible. This combination of behaviors was causing the strange behavior
when attempting to scroll down.
I couldn't figure out a way to write a unit test for this, since it's IE only
and seems to require user interaction. You can verify the previous behavior
(and the fix) on `demos/autocomplete/maxheight.html`
Fixes #9638
Closes gh-1785
2017-01-25 10:57:34 -05:00
Felix Nagel
767d173040
Calendar: Introduce refresh callback event
2017-01-21 13:49:36 +01:00
Felix Nagel
8b864309f6
Datepicker: Make select and change event pass the current value
2017-01-21 13:49:35 +01:00
Felix Nagel
de20614bd7
Calendar: Make select and change event pass the current value
2017-01-21 13:49:35 +01:00
Felix Nagel
b49d12d088
Calendar: Use old globalize for spinner tests
...
Workaround has been removed when merged with master.
This commit adds the proper dependency again to fix the tests.
2017-01-19 00:04:31 +01:00
Luke Brookhart
4b9f32486c
Effect: Fix typo
...
Closes gh-1778
2016-12-16 19:55:44 -05:00
Felix Nagel
f001a4b9a6
Calendar: Fix line length violations
2016-12-11 17:54:16 +01:00
Felix Nagel
800307be2a
Datepicker tests: Update to QUnit 2.x, shift to use no globals
2016-12-11 17:53:53 +01:00
Felix Nagel
c0f1bd6526
Calendar tests: Update to QUnit 2.x, shift to use no globals
2016-12-11 17:53:41 +01:00
Felix Nagel
55b01ab1de
Date tests: Update to QUnit 2.x, shift to use no globals
2016-12-11 17:53:17 +01:00
Jo Liss
cc37fe76aa
Themes: Optimize PNG files with zopflipng
...
Closes gh-1772
2016-11-29 09:42:36 -05:00
Jörn Zaefferer
042eae9f50
Datepicker: Set defaultElement to input, equivalent to Autocomplete
2016-11-22 18:18:57 +01:00
Scott González
a2b25ef6ca
Selectmenu: Don't render options with the hidden
attribute
...
Fixes #15098
2016-11-16 12:52:15 -05:00
pallxk
9a4c057157
Tooltip: Clear interval for delayed tracking tooltips on remove
...
This is needed in the case that the tooltip is removed before it gets shown.
Fixes #15099
Closes gh-1768
2016-11-16 12:12:22 -05:00
Felix Nagel
6b8ac7ef1b
Merge branch 'master' into datepicker
2016-11-09 10:13:28 +01:00
Felix Nagel
68028e7262
Calendar tests: use dateEqual assert instead of timestamp compare
...
Fix travis unit test issue due to timezone difference.
2016-11-04 11:26:18 +01:00
Petri Partio
d85c68f6cd
Theme: Optimize images
...
Closes gh-1763
2016-11-02 12:54:57 -04:00
Michał Gołębiowski
017bb979f6
Build: Stop using the jquery-ui-future browser set
...
jQuery UI now doesn't support browsers not suspported by latest jQuery
so separating the browser sets no longer makes sense.
Closes gh-1765
2016-11-02 12:53:30 -04:00
Michał Gołębiowski
4673c8808b
Build: Add jQuery 3.1.1
...
Closes gh-1766
2016-11-02 12:52:22 -04:00
Michał Gołębiowski
622a129a4d
Build: Run Travis tests on Node.js 6, not 0.12
...
Node.js 0.12 loses upstream support at the end of 2016, while Node 6 is in the
Active support phase until 2018-04-18 and will receive security fixes until
2019-04-18.
Closes gh-1767
2016-11-02 12:51:23 -04:00
Kyle Rosenberg
863a49f95b
Spinner: Fix typo
...
Closes gh-1764
2016-11-02 12:48:00 -04:00
Felix Nagel
2c43879a46
Datepicker: Use simple split instead of globalize for parsing attributes
...
This reverts commit ea986f2808
.
2016-10-25 18:27:31 +02:00
Felix Nagel
f010087aca
Calendar: Clear value if an invalid min / max option value was given
2016-10-25 01:34:06 +02:00
Jeremy Mickelson
9c5ce4c3e9
Sortable: Fix z-index
switching from auto
to 0
...
Save `z-index` before saving `opacity`. Setting `opacity` automatically
changes `z-index`.
Fixes #14683
Closes gh-1762
2016-10-19 14:46:47 -04:00
Scott González
f1fa076f62
Tabs: Don't blur focused tab on sort
...
Fixes #14627
Closes gh-1761
2016-10-12 13:14:28 -04:00
Felix Nagel
bd488f97a4
Calendar: Clear value if an invalid input was given
2016-10-12 18:47:22 +02:00
Felix Nagel
f64a7a4812
Calendar: Use name space for timestamp data attribute
2016-10-12 01:31:22 +02:00
Felix Nagel
890510c0a0
Calendar tests: Use assert.expect instead of global expect
2016-10-12 01:23:24 +02:00
Felix Nagel
96b5a760c4
Calendar tests: Simplify timeout steps
2016-10-12 01:09:03 +02:00
Felix Nagel
9fc83a085c
Calendar: Add change event
2016-10-12 01:04:26 +02:00
Felix Nagel
6f9d266339
Datepicker: Fix min / max attribute and add proper option parsing
2016-10-12 01:04:26 +02:00