Commit Graph

3081 Commits

Author SHA1 Message Date
Jörn Zaefferer
0e192979d0 Fix various coding style issues 2013-11-13 19:20:16 +01:00
Scott González
9910e938aa Menu: Simplify styling. Remove rounded corners, reduce spacing. 2013-11-13 18:41:47 +01:00
Scott González
874865842b Tabs: Don't decode URLs if they're not UTF-8. Fixes #9518 - Tabs: URLs encoded in anything other than UTF-8 will throw an error. 2013-11-13 12:29:29 -05:00
Imants Horsts
629c632a11 Datepicker: Corrected values for Latvian locale. Fixes #9656 - Datepicker: Incorrect values in Latvian localization. 2013-11-13 07:09:10 -05:00
Kris Borchers
601ad962e0 Sortable: Adjust itemWithLeastDistance algorithm in _contactContainers to properly handle dragging items to the beginning and ends of lists. Fixes #9314 - Sortable: Items cannot be dragged directly into bottom position. Fixes #9381 - Sortable: Connected list placeholders have an inaccurate initial position 2013-11-01 15:17:05 -05:00
Andrei Picus
ffab89e9be Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization. 2013-10-29 13:58:15 -04:00
Fabrício Matté
8b64322e98 Button: Remove obsolete mouse click coordinates checking. Fixed #7665 - Button: Radio button & checkboxes ignore mouseclicks for minor mouse movements. 2013-10-29 12:51:17 -04:00
Monika Piotrowicz
f16d0c7e26 Accordion: moving aria-expanded from active tabpanel to active tab. Fixed #9407 - Accordion: aria-expanded attribute on wrong element 2013-10-28 10:32:25 -04:00
Scott González
9e6095a646 Core: Move variables for .uniqueId()/.removeUniqueId() into their implementations. 2013-10-24 09:19:42 -04:00
Scott González
8a9fb52822 Datepicker: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
46b8915eb0 Position: Wrap everything in an IIFE to avoid name collisions when the build strips the main closure. 2013-10-24 09:19:42 -04:00
Scott González
5801a7ef65 Spinner: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
47db52b9c9 Widget: Prefix variables with component name. 2013-10-24 09:19:42 -04:00
Scott González
f64c953497 Tooltip: Use .uniqueId() and move aria-describedby helper methods into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
ecd4f95a50 Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
604e0949e3 Sortable: Moved helper methods into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
b7e3e4636f Resizable: Moved helper methods into the widget prototype. 2013-10-24 09:19:42 -04:00
Scott González
8dbda00896 Slider: Move numPages into the widget prototype. 2013-10-24 09:19:41 -04:00
Scott González
3317ec8990 Blind effect: Moved regexes into effect definition. 2013-10-24 09:19:41 -04:00
Scott González
d0002569d3 Droppable: Moved isOverAxis() into $.ui.intersect(). 2013-10-24 09:19:41 -04:00
Scott González
d6f85644d4 Dialog: Move option category hashes into the widget prototype. 2013-10-24 09:19:41 -04:00
Scott González
da185a6c15 Accordion: Use .uniqueId() and move animation properties into the widget prototype. 2013-10-24 09:19:41 -04:00
Mike Sherov
4bd1a9c5ba Draggable: Make sure positional constraints are never applied to ui.originalPosition 2013-10-21 11:20:03 -04:00
Jörn Zaefferer
619261f079 Datepicker: Finnish date format doesn't have padding for day and month. Fixes #9609 - Datepicker: Correct the Finnish date format 2013-10-21 14:24:10 +02:00
Mike Sherov
94f8c4d5e9 Draggable: apply axis options to position instead of style. Fixes #7251 - Draggable: constrained axis option returns incorrect position. 2013-10-20 19:46:05 -04:00
Kris Borchers
52307ebadb Menu: More precise removal of ui-state-active class for easier CSS overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item 2013-10-18 22:14:49 -05:00
Kris Borchers
14065dc23b Resizable: Store size based on calculated helper size to prevent 1 pixel shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid 2013-10-18 22:12:46 -05:00
Jörn Zaefferer
7b9c810b9a Autocomplete: Append liveRegion to body to support detached init. Fixes #9590 - Dynamically adding input field breaks auto-complete's accessibility for screen readers 2013-10-19 00:27:51 +02:00
Andrei Picus
06c4387bc9 Sortable: Fix typo and break lines in comment. 2013-10-18 17:30:32 +02:00
Jyoti Deka
93a2dcde52 Slider: Remove unnecessary 3rd argument in _slide method when calling this.values() 2013-10-18 17:24:01 +02:00
Jörn Zaefferer
5ee3a2a7fd Revert "Slider: Remove unnecessary 3rd argument in _slide method when calling this.values()"
This reverts commit b715e1d3cc.

Reverting to fix author email address to avoid CLA issues in the future.
2013-10-18 17:21:23 +02:00
Jyoti Deka
b715e1d3cc Slider: Remove unnecessary 3rd argument in _slide method when calling this.values() 2013-10-18 17:18:18 +02:00
Jyoti Deka
ecde7cd41a Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter 2013-10-16 22:22:28 +02:00
Kris Borchers
31e705ab32 Menu: Add items option for better definition of menu items in non parent-child structures 2013-10-05 21:52:31 -05:00
Kris Borchers
e08791d2c1 Autocomplete: Don't add anchors to items in generated menu 2013-10-05 21:52:31 -05:00
Kris Borchers
3a61627a50 Menu: Remove the requirement to use anchors in menu items 2013-10-05 21:52:30 -05:00
Scott González
e14f75ed48 Tabs: Keep reference to existing tablist during refresh. Fixes #9584 - Tabs: Refresh issue when tabs are moved to bottom. 2013-10-04 10:10:30 -04:00
Scott González
ed09ee5b75 Dialog: Added note explaining that _on() is safe to use for shared handlers because of stacking. 2013-10-03 12:09:50 -04:00
Stephane Deschamps
b67d1037a8 Day TH's: scope=col. Closes gh-1074
A TH must feature a way to know which span of TD's it applies to, and in simple tables such as date tables, this can be achieved through the use of the scope attribute.
2013-10-02 17:28:12 +02:00
Jörn Zaefferer
e263ebda99 Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.
Fixes #9166 - Dialog: moveToTop implementation resets flash/video/iframe/scroll
Fixes #9364 - Dialog: Click of element with tooltip scrolls the dialog to the top
2013-10-02 17:02:28 +02:00
TJ VanToll
2dfe85d3e2 Dialog: Safe activeElement access.
Fixed #9420 - Dialog: Close causes blur of window in IE9
Fixed #8443 - Dialog: "unspecified error" when using ie9 and iframe
2013-10-01 09:22:07 +03:00
TJ VanToll
e6360ab846 Spinner: Only format the value when there is one. Fixes #9573 - Spinner: forces a field validation in Firefox before field loses focus or form is submitted 2013-09-27 14:23:07 -04:00
Kris Borchers
485e0a0612 Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget 2013-09-17 13:03:18 -05:00
Scott González
d13df39e39 Widget: Only remove hover and focus classes when disabling, not enabling. Fixes #9558 - Widget: .enable() while already enabled kills ui-state-focus and ui-state-hover. 2013-09-16 11:57:35 -04:00
Jörn Zaefferer
1552fc8a05 Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method 2013-09-13 00:16:31 +02:00
Jörn Zaefferer
6e799c39d3 Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional. 2013-09-11 22:26:34 +02:00
TJ VanToll
eae2c4b358 Draggable: Safe activeElement access from iFrames for IE9, prevent window focus changes in IE9+. Fixed #9520 - Draggable: Browser window drops behind other windows in IE9/10 2013-08-28 11:35:21 -04:00
Scott González
e628d0e4ba Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: Capitalize 'close' for closeText option. 2013-08-15 16:56:49 -04:00
Mike Sherov
263d078944 Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - Draggable: jumps down with offset of scrollbar 2013-08-12 19:32:01 -04:00
Kris Borchers
cceb163548 Menu: Make check for click outside of menu a function which can be overridden. Fixes #8929 - Menu needs adjustement for use in Selectmenu 2013-08-11 19:11:23 -05:00