Commit Graph

3076 Commits

Author SHA1 Message Date
Felix Nagel
89019606eb Selectmenu: revert change to text instead of html, otherwise the unicode special char wont be displayed 2012-12-13 00:53:51 +01:00
Felix Nagel
ed422bd855 Selectmenu: removed ugly workaround for IE9 to make sure the menu is built on first focus 2012-12-12 23:43:32 +01:00
Felix Nagel
b15ae2a64f Selectmenu: merge and explain if statements in Menu focus event, remove unneeded Menu focus method call in open 2012-12-12 19:31:39 +01:00
Felix Nagel
20aad07fe4 Selectmenu: fix comment typo 2012-12-12 17:39:00 +01:00
Felix Nagel
07328359e9 Selectmenu: use method _documentClick for adding events to the document 2012-12-12 17:26:17 +01:00
Felix Nagel
f6372bd7ea Merge branch 'master' into selectmenu 2012-12-12 16:44:19 +01:00
Felix Nagel
d1350f9f11 Selectmenu: improve option appendTo handling in appendTo method 2012-12-12 16:34:56 +01:00
Scott González
747d853452 Core: Removed $.ui.contains. Fixes #8902 - Remove $.ui.contains. 2012-12-12 08:54:53 -05:00
Scott González
0f111a2ac4 Dialog: Spacing. 2012-12-12 08:47:21 -05:00
Scott González
b9f206dbcf Dialog: Cleanup. 2012-12-11 16:23:18 -05:00
Jörn Zaefferer
2845d38d40 Selectmenu: Select value when closing with space 2012-12-09 12:58:47 +01:00
Jörn Zaefferer
15032d17d9 Selectmenu: Remove colons from labels, annoying for screenreader-users. Cleanup whitespace. 2012-12-09 12:36:35 +01:00
Scott González
d4551bc3b8 Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option. 2012-12-07 16:57:03 -05:00
Scott González
70b16ef445 Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be attached to a element other than body. 2012-12-07 14:54:21 -05:00
Scott González
da17a232ca Autocomplete: Handle detached elements for appendTo after create. 2012-12-07 11:58:58 -05:00
Scott González
a1eb9ca4be Position: Split out dimension parsing. 2012-12-06 15:00:42 -05:00
Scott González
fb38c20763 Droppable: Added missing semicolon. 2012-12-06 14:43:35 -05:00
Scott González
3ec0c2e572 Core: Removed $.ui.isOver() and $.ui.isOverAxis(). Fixes #8891 - Remove $.ui.isOver() and $.ui.isOverAxis(). 2012-12-06 14:42:10 -05:00
Scott González
b239298946 Allow higher cyclomatic complexity in functions that sanely use switch statements. 2012-12-06 14:31:21 -05:00
Scott González
ebf8a60187 Tabs: Reduce cyclomatic complexity. 2012-12-06 14:31:21 -05:00
Kris Borchers
b44375aef1 Progressbar: Take min into account when calculating percentage. 2012-12-06 11:07:07 -06:00
Scott González
f7614706ab Progressbar: Cleanup, byte shaving. 2012-12-06 10:10:07 -05:00
Scott González
f1be88e795 Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests. 2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98 Progressbar: Define defaults for callbacks. 2012-12-06 09:21:25 -05:00
Scott González
1e5662ebe5 Tabs: Decode URIs before comparing. Fixes #8877 - Tabs: isLocal function issue in Safari 5.1.7. 2012-12-05 17:19:14 -05:00
Scott González
f59f5a8b12 Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed. 2012-12-05 11:53:34 -05:00
Bjørn Johansen
70f5d18c71 Datepicker: Added Norwegian Bokmål and Norwegian Nynorsk locales. Fixes #8886 - Datepicker: Add Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) locales.
Signed-off-by: Bjørn Johansen <bjorn.johansen@metronet.no>
2012-12-05 11:03:11 -05:00
Pavel Selitskas
cff4c3c4f3 Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale. 2012-12-05 10:54:53 -05:00
Scott González
598cdae199 Datepicker: Handle changes to the disabled option. Fixes #8883 - Datepicker: Changing disabled option doesn't work. 2012-12-05 10:38:31 -05:00
Scott González
3c2acc3227 Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed. 2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8 Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
This reverts commit d687a1b10d.
2012-12-04 09:21:33 -05:00
Scott González
8072099a3a Revert "Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b)."
This reverts commit 53b940fa27.
2012-12-04 09:21:16 -05:00
Scott González
86f1087931 Revert "Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b)."
This reverts commit b9068c1523.
2012-12-04 09:20:56 -05:00
Jörn Zaefferer
9bd44301d3 Dialog: Refactor _createOverlay and _destroyOverlay to use widget methods and properties. 2012-12-04 01:17:00 +01:00
Jörn Zaefferer
1e8baf5683 Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist. 2012-12-04 01:08:34 +01:00
Jörn Zaefferer
b9068c1523 Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). 2012-12-04 00:56:14 +01:00
Jörn Zaefferer
53b940fa27 Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). 2012-12-04 00:49:37 +01:00
Jörn Zaefferer
d687a1b10d Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers. 2012-12-04 00:35:47 +01:00
Felix Nagel
e6aca63a77 Selectmenu: simplify $.each usage in _readOptions method 2012-12-03 23:28:06 +01:00
Felix Nagel
aa60a9e114 Selectmenu: use item.index instead of _getSelectedItem method 2012-12-03 23:19:15 +01:00
Felix Nagel
60e3302d96 Selectmenu: use text() instead of html() as the option and optgroup is read as text 2012-12-03 23:07:30 +01:00
Felix Nagel
cba09dafa7 Selectmenu: guard clause should not return false 2012-12-03 23:05:09 +01:00
Felix Nagel
04553a7da5 Selectmenu: close guard close should test for closed menu 2012-12-03 23:04:53 +01:00
Scott González
8b15aaf496 Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - Calling _super calls wrong inherited widget. 2012-12-03 14:18:24 -05:00
Scott González
5ba267e7c7 Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge. 2012-12-03 10:36:55 -05:00
Jörn Zaefferer
13505e5945 Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM. 2012-11-30 13:08:56 +01:00
Kris Borchers
f2ee4c51aa Progressbar: Create and destroy indeterminate overlay as needed and code cleanup. 2012-11-29 22:13:39 -06:00
Felix Nagel
0d282630de Selectmenu: make isOpen check a guard clause in close method 2012-11-29 20:57:44 +01:00
Felix Nagel
18ecaf45db Selectmenu: added comment about popup positioning 2012-11-29 20:33:05 +01:00
Felix Nagel
f622428c43 Selectmenu: improve disabled check in open method 2012-11-29 20:23:30 +01:00