Commit Graph

5138 Commits

Author SHA1 Message Date
Jörn Zaefferer
dffc5f52a1 Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed outdated TODOs. 2012-11-16 10:46:52 +01:00
Jörn Zaefferer
552f7996e8 Dialog: Button is now a fixed dependency, so remove the check 2012-11-16 10:46:52 +01:00
Jörn Zaefferer
c7ded8c43e Dialog: Remove useless tmp vars. 2012-11-16 10:46:52 +01:00
Jörn Zaefferer
a75731a172 Dialog: Extracting wrapper creation into _createWrapper. Merging the two keydown handlers into one. 2012-11-16 10:46:52 +01:00
Jörn Zaefferer
bc3ea221b7 Dialog: Extract button pane creation into _createButtonPane 2012-11-16 10:46:40 +01:00
Jörn Zaefferer
c51b891fa3 Dialog: Refactor _create, extracting title bar creation in _createTitlebar 2012-11-16 10:43:57 +01:00
Jörn Zaefferer
cfe044b9d8 Dialog: Refactor uiDialogTitlebar variable, use this.uiDialogTitlebar instead. Wasn't needed anymore (previous refactorings). 2012-11-16 10:43:57 +01:00
Jörn Zaefferer
5bd8c1a170 Dialog: Refactor the mousedown-bind call to use _on, removing the need for the uiDialog closure. Use this.uiDialog and remove the variable. 2012-11-16 10:43:57 +01:00
Jörn Zaefferer
b7b4cbb502 Dialog: Remove outdated TODO 2012-11-16 10:43:57 +01:00
Jörn Zaefferer
1409347208 Dialog: Have _makeResizable look at options instead of passing handles. 2012-11-16 10:43:56 +01:00
Jörn Zaefferer
3dd7ba7758 Dialog: Finish refactoring _setOption, getting rid of unnecessary switch (no fallthroughs). 2012-11-16 10:43:56 +01:00
Jörn Zaefferer
e6e92580d5 Dialog: Have _createButtons access the buttons option directly. Start refactoring _setOption, no need for switch. 2012-11-16 10:43:56 +01:00
Jörn Zaefferer
e960918bfd Dialog: Refactor _setOption to call _super early. Move dialogClass update above that to access old option value. 2012-11-16 10:43:36 +01:00
Jörn Zaefferer
eae645c965 Dialog: Use button widget for close button (was already listed as dependency) 2012-11-16 10:37:34 +01:00
Jörn Zaefferer
1f946d5ad0 Dialog: Focus tabbable only when dialog lost focus before. 2012-11-16 10:35:08 +01:00
Jörn Zaefferer
f003dffb57 Dialog: Remove attroperty workaround for title attribute. Make the default null, as it should be. No back-compat, as the behaviour doesn't change. 2012-11-16 10:31:47 +01:00
Jörn Zaefferer
628ae73e6c Dialog: Only add the new dialogClass, not the base classes when changing the option. 2012-11-16 10:27:44 +01:00
Jörn Zaefferer
cac5acca87 Dialog: Use $.isEmptyObject() to check if there a button-option properties 2012-11-16 10:27:43 +01:00
Jörn Zaefferer
329507f418 Dialog: Trigger focus event when dialog is moved to top. 2012-11-16 10:27:43 +01:00
Jörn Zaefferer
739326e2cd Dialog: Remove deprecated disableSelection() usage. 2012-11-16 10:27:43 +01:00
Jörn Zaefferer
88d421b641 Dialog: Fix yoda-if, remove unnecessary TODOs; add missing callbacks to commons test 2012-11-16 10:27:43 +01:00
Jörn Zaefferer
ad56052ede Dialog: Inline code review 2012-11-16 10:27:43 +01:00
Jörn Zaefferer
443236b122 Dialog: move to top when opening again, and focus as if opened from scratch. 2012-11-16 10:27:34 +01:00
Jörn Zaefferer
7c876dc9af Dialog: Keep focus inside modal dialog, by handling focus events on elements outside of it 2012-11-16 10:27:34 +01:00
Jörn Zaefferer
e5c1e3e018 Dialog: Improve accessibilty - add an aria-describedby attribute on the dialog if there is nothing yet in the dialog content. Partial fix for: 2012-11-16 10:27:34 +01:00
Scott González
ccdceddd80 Datepicker tests: Work around encoding issues in oldIE. 2012-11-15 18:57:44 -05:00
Scott González
8c36603305 Dialog tests: Work around inconsistent handling of non-breaking spaces in IE7/8 with jQuery <1.8. 2012-11-15 10:47:36 -05:00
Scott González
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Scott González
3d96f20506 Datepicker: Fixed firstDay in Faroese locale. Fixes #8815 - Datepicker: Faroese locale has incorrect firstDay. 2012-11-14 15:06:37 -05:00
Scott González
ca0df6b900 Tooltip: Removed logic for handling tracking tooltips which gain focus while open (we no longer mix events). Fixes #8799 - Tooltip: tracking fails on nested elements. 2012-11-14 14:42:36 -05:00
Scott González
1b503a237e Tooltip: Handle synthetic focusin events. Fixes #8740 - Tooltip: Does not hide consistently with dynamically loaded content. 2012-11-14 14:14:45 -05:00
Jay Merrifield
eca5abd873 Datepicker: Updated the range tests so you can't navigate past the yearRange. Fixes #7362 - Datepicker allows changing year to something outside yearRange 2012-11-13 21:08:55 -05:00
Scott González
2553d61384 Accordion: Use .css() to clear the height, instead of .height(). 2012-11-13 19:02:02 -05:00
Scott González
ff055a0c35 Datepicker tests: Fixed setting of option. 2012-11-13 10:34:31 -05:00
Scott González
608341d20d Tests: Commented out getElementStyles() while its not used. 2012-11-13 09:46:19 -05:00
Scott González
248e632f4d Tests: Temporarily remove style checks in domEqual(). 2012-11-13 09:38:29 -05:00
Ethan Romba
3974b55ba5 Resizable: Update CSS dimensions selectively. Fixes #7605 - Setting width and height when only one is changing
Resizable: Trigger resize event only when element is resized. Fixes #5545 - Callbacks ignore the grid.

Resizable: Added event tests. Fixes #5817 - resize event reports unconstrained ui.size
2012-11-12 21:41:22 -05:00
Scott González
902df84fce Tests: Allow async domEqual() tests. 2012-11-12 11:19:20 -05:00
David Petersen
d657538ed5 Accordion: Enhance refresh to allow adding/removing panels. Fixes #4672 - Accordion: ability to add/remove panels 2012-11-11 21:38:21 -05:00
Cory Gackenheimer
8e1ceba717 Button: use _hoverable for hover state management. Fixes #5295 - button doesn't remove hover state if they are disabled 2012-11-11 21:17:05 -05:00
Kris Borchers
11687e44dc Progressbar: Do not duplicate base _setOptions method 2012-11-11 16:52:23 +09:00
Mike Sherov
d6c6b7dc33 Dev: make sure all files can pass JSHint! 2012-11-09 17:30:43 -05:00
Mike Sherov
00e92e16b4 Dev: remove all-active test runner as now all test suites can run cleanly! 2012-11-09 17:26:12 -05:00
Mike Sherov
cc5c2aad96 Dev: enable slider in the test suite 2012-11-09 17:22:35 -05:00
Mike Sherov
7ed4aa56c6 Dev: temporarily disable odd test failures in Datepicker 2012-11-09 17:06:30 -05:00
Scott González
9e858ba14a Widget: Only use the event prefix from the base if we're redefining a widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1. 2012-11-09 16:49:03 -05:00
Mike Sherov
254f2b3698 Dev: fix the datepicker test suite and jshint everything. Fixes #8804 - Dev: re-enable the datepicker test suite 2012-11-09 16:27:45 -05:00
Mike Sherov
543abc9b1f Dev: clean up dialog test suite with new helper methods. Fixes #8803 - Dev: re-enable the dialog test suite 2012-11-09 15:02:26 -05:00
Scott González
fd48568c40 Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called. 2012-11-09 14:52:57 -05:00
Scott González
dbaecf0ede Effects: Cleaned up getElementStyles(). 2012-11-09 14:47:20 -05:00