Commit Graph

1669 Commits

Author SHA1 Message Date
Scott González
1cdeeccab0 Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove. 2012-11-09 12:54:33 -05:00
Scott González
d44557f50a Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: Remove data fallbacks for widget names. 2012-11-09 12:51:26 -05:00
Scott González
84cd214486 Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled. 2012-11-09 12:39:41 -05:00
Ethan Romba
6e0a0553ce Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions 2012-11-09 09:48:50 -05:00
Kris Borchers
8976bc7e3d Progressbar: Refactor to better handle option changes and sanitize values. Fixes #8785 - Progressbar: Remove _value() and always sanitize value option 2012-11-08 12:02:25 -06:00
Avinash R
75bd22eb73 Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied. 2012-11-07 10:05:00 -05:00
Mathias Stenbom
0bff32a2b1 Resizable: Made handles work with complex markup. Fixes #8756 - Resizable: Complex markup for handles. 2012-11-05 13:16:48 -05:00
Jörn Zaefferer
6874f19061 Tooltip: Fix default for position option, follow-up to 1d9eab1. 2012-11-05 19:07:03 +01:00
Jörn Zaefferer
98173a3d0e Tooltip: Check type on event directly, preventing TypeError when programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors 2012-11-05 18:59:52 +01:00
Jörn Zaefferer
8b3e570241 Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus. 2012-11-05 18:42:41 +01:00
Scott González
8bdf0359bb Skip collision: fit test in IE until TestSwarm stops using iframes. 2012-11-05 11:31:33 -05:00
Mike Sherov
068d597166 Dev: fix IE fails in draggable and selectable - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-04 09:31:56 -05:00
Mike Sherov
3df9ea29e6 Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-03 16:17:16 -04:00
Mike Sherov
68ad80c292 Dev: Standardize sortable test suite. Fixed #8755 - Dev: Get sortable test suite to pass 2012-11-01 20:54:52 -04:00
Mike Sherov
d771048a56 Dev: Fix test failures in oldIE. Fixed #8748 - Dev: Get draggable test suite to pass 2012-10-31 10:02:01 -04:00
Mike Sherov
d85b0160f2 Dev: Standardized the resizable test suite. Fixed #8754 - Dev: Get resizable test suite to pass 2012-10-31 09:50:36 -04:00
Mike Sherov
8746042ae1 Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass 2012-10-30 22:24:41 -04:00
Mike Sherov
b49e071d39 Dev: Standardized the selectable test suite. Fixed #8752 - Dev: Get selectable test suite to pass 2012-10-30 22:19:55 -04:00
Mike Sherov
f0daa220d6 Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass 2012-10-30 22:13:43 -04:00
Scott González
d074efe528 Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form. 2012-10-28 20:28:55 -04:00
Scott González
5bd19650a3 Datepicker: Removed iframe cover for IE6. 2012-10-26 15:59:29 -04:00
Scott González
2a68a7d2bc Dialog tests: Removed stack option. 2012-10-26 14:38:27 -04:00
Scott González
d68ef5e4e1 Tests: Removed old code that kept bad test suites out of TestSwarm. 2012-10-26 13:47:34 -04:00
Scott González
68cab60fa7 Removed bgiframe. 2012-10-26 10:53:17 -04:00
Jörn Zaefferer
039ee746d3 Dialog: Visual test page for modal form dialogs 2012-10-25 20:47:22 -04:00
Jörn Zaefferer
8251440d78 Dialog: Visual test page for animated modal dialog 2012-10-25 20:47:05 -04:00
Jörn Zaefferer
b8e0de2444 Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove support for effects in $.effects[]. 2012-10-25 09:29:11 -04:00
Scott González
2582bfab46 Position: Removed offset option. Fixes #6982 - Position: Remove offset option. 2012-10-25 06:39:14 -04:00
Scott González
bc44e61dd9 Accordion: Removed change and changestart events. Fixes #6841 - Accordion: Remove changestart event. Fixes #6843 - Accordion: Remove change event. 2012-10-25 06:19:25 -04:00
Scott González
8d35c03dfd Accordion: Removed animated option. Fixes #8601 - Accordion: Remove animated option. 2012-10-25 06:15:30 -04:00
Scott González
054b208a99 Tabs: Removed all templating features. Fixes #7158 - Tabs: Remove add and remove methods. Fixes #7157 - Tabs: Remove templating (idPrefix, tabTemplate, panelTemplate options). Fixes #7149 - Tabs: Remove use of title attribute. 2012-10-25 06:10:00 -04:00
Scott González
056f83fb01 Tabs: Removed back-compat filter in tests for negative active option. 2012-10-25 06:00:18 -04:00
Scott González
3d6c2a66d4 Tabs: Removed back-compat for load event. Fixes #8731 - Tabs: Remove back-compat for load event. 2012-10-25 05:59:20 -04:00
Scott González
828b3c420c Tabs: Removed abort method. Fixes #7150 - Tabs: Remove abort method. 2012-10-25 05:48:51 -04:00
Scott González
6a00d418bc Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option. 2012-10-25 05:47:51 -04:00
Scott González
a9053d9300 Tabs: Removed selected option. Fixes #7152 - Tabs: Remove selected option. 2012-10-25 05:46:54 -04:00
Scott González
fb525e1cb1 Tabs: Removed select event. Fixes #7154 - Tabs: Remove select event. 2012-10-25 05:45:18 -04:00
Scott González
a1fd49fb29 Tabs: Removed show event. Fixes #7155 - Tabs: Remove show event. 2012-10-25 05:44:22 -04:00
Scott González
7cf2719d0c Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method. 2012-10-25 05:41:14 -04:00
Scott González
0fc682a8da Tabs: Removed enable and disable events. Fixes #7160 - Tabs: Remove enable and disable events. 2012-10-25 05:39:15 -04:00
Scott González
1a7958a430 Tabs: Removed length method. Fixes #7161 - Tabs: Remove length method. 2012-10-25 05:37:37 -04:00
Scott González
0429532ad1 Tabs: Removed cookie option. Fixes #7162 - Tabs: Remove cookie option. 2012-10-25 05:36:24 -04:00
Scott González
723d3e0040 Tabs: Removed fx option. Fixes #8320 - Tabs: Remove fx option. 2012-10-25 05:32:02 -04:00
Scott González
acdd1917b2 Tabs: Removed url method. Fixes #7148 - Tabs: Remove url method. 2012-10-25 05:28:54 -04:00
Scott González
52a184e31c Tabs: Removed ajaxOptions and cache options. Fixes #7147 - Tabs: Remove ajaxOptions and cache options. 2012-10-25 05:27:33 -04:00
Jörn Zaefferer
974e5f8196 Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
d67bc412a8 Accordion: Removed deprecated activate method and expanded active option. Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
fd952c5a79 Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove icons.headerSelected. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
09eed560f8 Accordion: Removed deprecated navigation options. Fixes #5870 - Accordion: Remove navigation options. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
0cdd5591be Accordion: Remove deprecated height options. Fixes #5868 - Accordion: Remove clearStyle option. Fixes #5872 - Accordion: Remove autoHeight and fillSpace options. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
14691ae6fe Dialog: Save the active element that opened the dialog and restore focus to that. Fixes #8730 - Dialog: Restore focus to opener. 2012-10-24 17:02:32 -04:00
Jörn Zaefferer
2a2a2c017c Dialog: Prevent dialog form losing focus (or move it back in IE <= 8). 2012-10-24 16:57:13 -04:00
Nate Eagle
3829a37ca1 Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Jörn Zaefferer
721a4b4ae0 Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element 2012-10-24 10:42:21 -04:00
Scott González
848ab48583 Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget. 2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization. 2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension. 2012-10-23 15:12:54 -04:00
Scott González
97b4813f30 Tooltip tests: Fixed new default value for position option. 2012-10-23 15:07:19 -04:00
Marc-Andre Lafortune
8bb05d23e2 Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target. 2012-10-23 14:06:30 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
9b908878ae Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work. 2012-10-22 15:36:11 -04:00
Scott González
6bedc0af35 Whitespace. 2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9 Remove trailing whitespace and add final newlines 2012-10-21 22:45:41 -04:00
Trey Hunner
0bcbfe7146 Replace mixed CRLF/LF line endings with LF 2012-10-21 22:45:41 -04:00
Corey Frang
8b76684a92 Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783 2012-10-21 16:46:57 -05:00
Jörn Zaefferer
78f781fccd Tooltip: Unit test for nested tooltips 2012-10-21 13:25:36 -04:00
Jörn Zaefferer
132e9f0c72 Tooltip: Update events test to cover correct behaviour 2012-10-21 13:15:59 -04:00
Andrew Couch
0b3e59f149 Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time. 2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736 Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed 2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows 2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291 Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements 2012-10-21 12:49:32 -04:00
David Petersen
c2802d7aa0 Accordion: handle active: null. Fixes #8694: 1.9 Accordion - active: null allows panels to be collapsible. 2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event. 2012-10-17 20:28:27 -04:00
TJ VanToll
5e24a1ce4b Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset. 2012-10-16 23:09:26 -04:00
Scott González
bd3a348776 Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only]. 2012-10-12 20:26:47 -04:00
Scott González
94221c4e5b Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs. 2012-10-12 11:07:04 -04:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
0a31a82831 Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties. 2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72 Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error. 2012-10-05 11:26:49 -04:00
Scott González
2c50b1b8b5 Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate(). 2012-10-01 16:52:54 -04:00
Scott González
a638acb583 Upgrade jQuery to 1.8.2. 2012-09-20 21:41:47 -04:00
Rafael Xavier de Souza
92e1e83eca Tests: Fix padding from 4% to 2%, since width is 96%. 2012-09-19 16:33:46 -03:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -04:00
Kris Borchers
e1fd8ea6b3 Tooltip tests: Fixed typo 2012-09-05 20:37:29 -05:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
e242868f56 Tooltip: Allow strings for content option. 2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44 Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically. 2012-08-31 15:38:21 -04:00
Jörn Zaefferer
7852583980 Restore QUnit's now dead feature of using jQuery to reset the fixture. Fixes tooltip unit tests 2012-08-30 15:20:36 +02:00
Scott González
b22e3c36f2 Tooltip tests: Added test for widget() method. 2012-08-26 20:21:24 -04:00
Scott González
072919467d Tabs tests: Added test for widget() method. 2012-08-26 20:20:43 -04:00
Scott González
1540f4afc8 Whitespace 2012-08-26 20:20:13 -04:00
Scott González
383d0dbfae Spinner tests: Added test for widget() method. 2012-08-26 20:19:35 -04:00
Scott González
dc7c26b8d1 Progressbar tests: Added test for widget() method. 2012-08-26 20:18:21 -04:00
Scott González
2e491e0bb7 Menu tests: Added test for widget() method. 2012-08-26 20:17:36 -04:00
Scott González
355a1a6f0a Menu tests: re-order tests. 2012-08-26 20:16:30 -04:00
Scott González
7f6ef7ffad Autocomplete tests: Added test for widget() method. 2012-08-26 20:15:03 -04:00
Scott González
103463323a Accordion tests: Added test for widget() method. 2012-08-26 20:00:36 -04:00
Scott González
42b21fd3ed Tests: Removed completed TODO. 2012-08-26 18:37:30 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00