Commit Graph

6207 Commits

Author SHA1 Message Date
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
Andrei Picus
998d04d55d Tests: sortable: fix assert message.
Changed 'stop' to 'over'.

Closes gh-1174
2014-01-20 09:42:14 -05:00
TJ VanToll
7429083065 Demos: Fixing broken links to effect demos 2014-01-17 10:25:04 -05:00
Jörn Zaefferer
031400b5f3 Build: Upgrade to grunt-contrib-qunit, supports page options 2014-01-17 11:28:35 +01:00
Brian J. Dowling
f4423f508e Tests: Fix draggable_options expected test count to be dynamic
The test count was previously incremented to 8 when normally 6 tests
are run.  After figuring out the dynamic test code, I just made the
expect depend on the same array length

Also re-enabled the test in the Gruntfile since it now passes.
2014-01-16 21:25:28 +00:00
Scott González
6870897364 Build: Upgrade to grunt-contrib-csslint 0.2.0
This should fix the crazy grunt-contrib-csslint -> csslint -> parserlib fuzzy
version issues.
2014-01-16 12:24:20 -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
Scott González
8f267ee331 Droppable demos: Use ui-state-default for activation
Closes gh-1085
2014-01-15 05:03:53 -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
Scott González
7741c9f678 Dialog: Apply overflow: hidden to contain the resize handles
Fixes #9521
Closes gh-1092
2014-01-15 04:22:08 -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
Jörn Zaefferer
e15d8cc232 Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs 2014-01-10 16:06:58 +01: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
d1b3755dd4 Docs: Reduce contributing guidelines by linking to contribute.jquery.org
Closes gh-1161
2014-01-09 12:38:45 -05: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
Andrei Picus
0a01200138 Tests: Fix grammar error in comment
Changed it's to its.

Closes gh-1164
2014-01-08 11:43:59 -05:00
Jörn Zaefferer
a343d83a42 Tests: Add link to visual test for selectmenu to index 2014-01-07 18:59:34 +01:00
Jörn Zaefferer
5cf4456aaf Tooltip: Lowercase test html for IE7/8 compat 2014-01-06 16:33:33 +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
Felix Nagel
0cc8554077 Selectmenu Tests: add unit tests for empty options 2013-12-18 19:05:17 +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
Dave Stein
38c6cf1382 Draggable: Test fix regarding static scrolling
No longer checking scroll positions of static scrolls since the fixture is
in an absolute container.

Closes gh-1145
2013-12-15 09:38:46 -05:00
Mike Sherov
f4839f73a7 Draggable Unit Tests: Ensure IFRAMEs can be written to
Draggable tests were failing in IE because the frame needs to be
written to to be accessible to further DOM manipulation.
2013-12-14 17:38:33 -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
Scott González
dfff0346d9 Updated author information. 2013-12-10 20:02:58 -05:00
Corey Frang
d6815b7605 Demos: Fix broken links to themeroller 2013-12-09 08:54:22 -06:00
Jörn Zaefferer
93ec7561d9 JSCS config: Set validateLineBreaks 2013-12-09 13:05:39 +01:00
Jörn Zaefferer
06df97d1bb JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators 2013-12-09 13:04:33 +01:00
Jörn Zaefferer
3e57b29267 JSCS config: Set requireSpaceBeforeBinaryOperators, fix occurences 2013-12-09 13:02:19 +01:00
Jörn Zaefferer
8033cf4a5a Build: Update to lastest grunt-jscs-checker 2013-12-09 13:01:50 +01:00
Jörn Zaefferer
8b14e49994 JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences 2013-12-09 12:55: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
06bcd8eb62 Selectmenu: update button width on refresh 2013-12-07 19:10:50 +01:00
Jörn Zaefferer
327bcbae8c Grunt: Add grunt-esformatter, formats all source files (no validation) 2013-12-07 18:00:46 +01:00
Jörn Zaefferer
6a483fd143 Autocomplete: Whitespace 2013-12-07 18:00:20 +01:00