Commit Graph

1754 Commits

Author SHA1 Message Date
Leonardo Balter
60fa118955 Tests: Fix improper async sortable test
Caught when testing jQuery UI against the new QUnit version, where start throws
an error if called with a non-numeric error.

Closes gh-1630
2015-10-27 13:55:55 -04:00
Scott González
33398fa4f1 Draggable: Skip window bubbling test in IE 8
IE 8 implements DOM Level 2 Events which only has events propagate
up to the document, not the window.

Ref #10818
Ref gh-1621
Closes gh-1627
2015-10-27 11:12:14 -04:00
Scott González
81a002991e Tabs: Handle overly-precise values in tests in IE
Closes gh-1628
2015-10-27 11:06:48 -04:00
Jörn Zaefferer
39853fda45 Selectmenu: Handle form resets
Fixes #12236
Ref gh-1550
2015-10-27 10:28:04 -04:00
Jörn Zaefferer
09fde89a24 Controlgroup: Fix create and destroy for controlgroupLabel
Creating the label broke while doing a refactoring, the lack of tests
allowed that to go unnoticed. Shouldn't happen again with the extra
tests, covering both controlgroupLabel and spinner.
2015-10-26 10:09:20 -04:00
Jörn Zaefferer
3570cc5a2b Tests: Fix button space assertions on IE8
IE8 still doesn't keep the space in the text (or HTML) representation.
We don't really care, so adding more trims in these tests as well.
2015-10-25 11:25:00 -04:00
Jörn Zaefferer
56d6ddc2ba Draggable: Fix options tests
These failed when running through tests/unit/all.html, due to the smaller
iframe. Reducing a browser window enough triggered the same issue. Making
the top offset much smaller fixes that.

The rest is fixing bad indent and adds a missing module call.
2015-10-25 11:22:40 -04:00
Hannah Methvin
a1d69208ba Mouse: Don't stop propagation of mouseup
Fixes #10818
2015-10-18 12:36:43 -04:00
Jyoti Deka
4c5cd2018d Slider: Add missing unit test cases for values method
Closes gh-1573
2015-10-17 16:08:29 -04:00
Scott González
1007ee811c Autocomplete: Whitespace 2015-10-16 14:14:45 -04:00
Scott González
548fbf570c Autocomplete: Close the menu on any outside interactions
This ensures that the menu will close if the user interacts with a
draggable, resizable, etc. element since those interactions don't
change focus.

Ref #6642
Closes gh-1614
2015-10-16 14:09:05 -04:00
Jörn Zaefferer
52d9ec6c4d Checkboxradio: Add ui-state-highlight class to icon on create
This was already toggled in _toggleClasses, but that isn't called
on create.
2015-10-08 14:03:00 -04:00
Jörn Zaefferer
9ff3d8fb90 Controlgroup: Fix refresh method tests by adding text content to button
In IE8, the empty elements cause issues. Adding text content makes
sense, since empty elements are useless.
2015-10-08 14:03:00 -04:00
Jörn Zaefferer
81c4fdfecd Button: Can't test for " " in IE8, just make sure the element exists 2015-10-08 14:02:59 -04:00
Jörn Zaefferer
44eb0ccba9 Checkboxradio: Fix label option tests by trimming DOM text
IE8 is inconsistent in outputting space through .html() and .text()
methods, but since it renders it correctly, we can just ignore it.
2015-10-08 14:02:59 -04:00
Jörn Zaefferer
dc2bede254 Checkboxradio: Fix invalid markup in core tests 2015-10-08 14:02:59 -04:00
Jörn Zaefferer
b61a3c74a9 Controlgroup: Fix css reference in unit tests 2015-10-08 14:02:59 -04:00
Jörn Zaefferer
e310d9f160 Tests: Prevent default on anchor click to avoid navigation 2015-10-08 14:02:59 -04:00
Jörn Zaefferer
6fc2cb3c7c Controlgroup: Rename excludeInvisible to onlyVisible
Gets rid of the double negative.
2015-10-08 14:02:58 -04:00
Alexander Schmitz
1beeb94196 Dialog: address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
6b05034283 Selectmenu: Address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
3a30eef1c1 Controlgroup: Style updates 2015-10-08 14:02:57 -04:00
Alexander Schmitz
641c5ed17a Checkboxradio: Style updates 2015-10-08 14:02:56 -04:00
Alexander Schmitz
3330634c4e Controlgroup: fixup for spinner and label 2015-10-08 14:02:47 -04:00
Alexander Schmitz
a00c02513d Controlgroup: Add missing entry to demos bootstrap 2015-10-08 14:02:36 -04:00
Alexander Schmitz
16abde399d Spinner: Updates for new button widget and classes option 2015-10-08 14:02:35 -04:00
Alexander Schmitz
9f7f0a4279 Selectmenu: update to use button css
This ensures consistency between different form elements
2015-10-07 10:57:59 -04:00
Alexander Schmitz
897ec38e63 Dialog: Updating dialog and tests for new button API 2015-10-07 10:57:59 -04:00
Alexander Schmitz
40a9d1dfdb Controlgroup: Inital commit of new widget
This widget replaces the buttonset widget
2015-10-07 10:57:59 -04:00
Alexander Schmitz
25d0c85718 Checkboxradio: Initial commit of new widget 2015-10-07 10:57:59 -04:00
Alexander Schmitz
02033262ee Button: Initial commit of button re-factor
Move to using element stats rather then js class states remove
ui-button-text spans.
Removed button set
2015-10-07 10:57:59 -04:00
Jörn Zaefferer
7f3bb4dc4f Tests: Fix jshint includes for datepicker and effects 2015-10-01 12:13:35 +02:00
Scott González
d3025968f3 Focusable: Fix handling of visibility: inherit
Ref #14596
Ref gh-1583
Closes gh-1605
2015-09-29 12:48:11 -04:00
Jörn Zaefferer
0bfbd21d4f Tabs: Adjust handling of disabled option, using _setOptionDisabled
Tabs support multiple values to disable individual tabs. Only add the
ui-tabs-disabled class when all tabs are disabled.

Ref #9151
Closes gh-1599
2015-09-25 13:47:27 -04:00
Scott González
7dde5c9d75 Widget: Call ._setOptionDisabled() on init if the widget is disabled
Fixes #9151
Ref gh-1599
2015-09-25 13:46:25 -04:00
Weston Ruter
0db243a736 Core: Remove ancestor visibility requirement from :focusable selector
* Check computed visibility in addition to :visible
* Add tests for nested visibility override

Fixes #14596
Closes gh-1583
2015-09-24 08:13:59 -04:00
Scott González
e19d462f16 All: Delegate to base _getCreateOptions().
Ensures that any extensions to the base widget will be handled properly by
individual widgets.

Closes gh-1598
2015-09-17 08:47:28 -04:00
Jörn Zaefferer
afbcdbe47e Datepicker: Fix tests on TestSwarm by requiring $.ui.ie in the test
The check that checks for IE wouldn't match since $.ui.ie was extracted
to its own file.
2015-09-17 14:21:23 +02:00
Alexander Schmitz
3d43f0d7a4 Build: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
eefe81bbee FormRestMixin: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
4b39e131b5 Position: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
f520f9ef42 Effects: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
e021e4d6e2 Widget: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
a380d2d09e Datepicker: Style updates
Ref #14246
2015-09-11 08:36:40 -04:00
Alexander Schmitz
f8c2bbb0c8 Dialog: Style updates
Ref #14246
2015-09-11 08:29:09 -04:00
Alexander Schmitz
8336ba7b69 Draggable: Style updates
Ref #14246
2015-09-11 08:29:09 -04:00
Alexander Schmitz
0cab9f0a2f Droppable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
85ff520560 Menu: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
12be35562a Progressbar: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
5850a5c755 Resizable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00