Dylan Barrell
b9e438d07c
Tooltip: Improve accessibility by adding content to an aria-live div
...
Fixes #9610
Closes gh-1118
2013-12-19 10:36:30 -05:00
Felix Nagel
c9042b960f
Selectmenu: fix lint issue
2013-12-18 20:11:29 +01:00
Felix Nagel
3dfa08f227
Selectmenu: Fix empty option processing
...
Ref #9701
2013-12-18 19:30:48 +01:00
Felix Nagel
a6806ab17a
Menu: Add _isDivider method
...
Ability to prevent generation of dividers from items
Fixes #9701
2013-12-18 19:29:41 +01:00
Jyoti Deka
bc8e75059c
Resizable: remove redundant comments and whitespace
2013-12-15 13:04:38 -05:00
Jyoti Deka
20f064662a
Resizable: containment plugin restricts resizing within container
...
Fixes #7018
Fixes #9107
Closes gh-1122
2013-12-15 12:57:29 -05:00
Jyoti Deka
bae1a25b14
Resizable: fix whitespace on containment plugin
2013-12-15 12:38:18 -05:00
Jyoti Deka
c03cb8079c
Resizable: containment now works with non - immediate children
...
Fixes #7485
Closes gh-1130
2013-12-15 12:29:55 -05:00
Jyoti Deka
ec5f395260
Resizable: modified to allow resizing when resizables are nested.
...
Fixes #5025
Closes gh-1149
2013-12-14 16:08:44 -05:00
Jörn Zaefferer
3e57b29267
JSCS config: Set requireSpaceBeforeBinaryOperators, fix occurences
2013-12-09 13:02:19 +01:00
Jörn Zaefferer
8b14e49994
JSCS config: Set disallowSpaceAfterObjectKeys, fix two occurences
2013-12-09 12:55:17 +01:00
Felix Nagel
06bcd8eb62
Selectmenu: update button width on refresh
2013-12-07 19:10:50 +01:00
Jörn Zaefferer
6a483fd143
Autocomplete: Whitespace
2013-12-07 18:00:20 +01:00
Jörn Zaefferer
9de1eb0a23
Accordion: Whitespace
2013-12-07 18:00:07 +01:00
Jörn Zaefferer
c3d382e901
Menu: Remove preventDefault for disabled menu items, since there is no default on list items. Follow-up to fe7c300374
and the anchor removal in general
2013-12-03 21:57:58 +01:00
Jörn Zaefferer
fe7c300374
Menu: Remove click binding that was supposed to prevent default on anchor clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets
2013-12-03 21:54:08 +01:00
Jörn Zaefferer
4992fc902e
Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top
2013-12-03 17:03:01 +01:00
Mike Sherov
44b2180782
Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div
...
Core: update scrollParent() to support all current supported browsers.
2013-12-03 10:08:12 -05:00
Felix Nagel
a9b18bcfec
Selectmenu: add 1px to menu width to avoid wrapping long text in IE10
2013-11-26 00:56:50 +01:00
Jörn Zaefferer
9a5f20bc7d
Merge branch 'master' into selectmenu
2013-11-25 14:29:30 +01:00
Scott González
f848ae38e0
Build: Include es3 option for JSHint.
2013-11-22 09:54:27 -05:00
Jörn Zaefferer
1096f19f37
Dialog: Keep track of instances to focus when elements outside the dialog get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9
2013-11-20 16:04:13 +01:00
Jörn Zaefferer
4f80bc6ecd
Selectmenu: Fix code style issue
2013-11-16 12:30:46 +01:00
Jörn Zaefferer
43772f3e5b
Merge branch 'master' into selectmenu
2013-11-16 12:25:21 +01:00
Jörn Zaefferer
9fd0e86820
Dialog: Update code style, adding whitespace around string arguments and array indices
2013-11-15 16:48:31 +01:00
Jörn Zaefferer
0e5a2e126a
Dialog: Restore focus to the previously focused element when window regains focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element
2013-11-15 08:16:24 +01:00
Felix Nagel
51b0429713
Selectmenu: simplify and fix document click event
2013-11-13 19:55:31 +01:00
Felix Nagel
ab2219b6ac
Merge branch 'master' into selectmenu
2013-11-13 19:45:56 +01:00
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
Felix Nagel
a6c5f58d82
Selectmenu: follow-up to close menu on other element mousedown not on click
2013-10-30 21:36:03 +01:00
Felix Nagel
11186cc10a
Selectmenu: make sure ui-state-focus class is set on button after initial focus
2013-10-29 21:49:17 +01:00
Felix Nagel
027d8d4cab
Selectmenu: close menu on other element mousedown not on click
2013-10-29 20:54:16 +01:00
Felix Nagel
f3e4b24485
Selectmenu: improve disabled item handling
2013-10-29 19:52:54 +01: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
Felix Nagel
2c7e3389bc
Selectmenu: remove widthMenu option and rename widthButton option to width
2013-10-24 00:11:10 +02:00
Felix Nagel
80d2c1180a
Selectmenu: lint fix
2013-10-21 21:18:33 +02:00
Felix Nagel
67e7f18d08
Selectmenu: add ui-state-active class to active list item
2013-10-21 20:39:15 +02:00
Felix Nagel
fab6b8883e
Merge branch 'master' into selectmenu
2013-10-21 20:33:49 +02: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
Felix Nagel
7af3dab075
Selectmenu: Remove links in menu items
2013-10-10 01:01:41 +02:00
Felix Nagel
e26e0df3af
Merge branch 'master' into selectmenu
2013-10-10 00:08:49 +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
Felix Nagel
f2d06bf063
Selectmenu: add widthMenu and widthButton options
2013-09-29 15:33:14 +02: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
Felix Nagel
b1532ed4ae
Selectmenu: Click on button text does not open menu in Webkit browsers
2013-09-26 01:10:16 +02:00
Felix Nagel
b80681c74e
Selectmenu: remove unneeded variable usage
2013-09-25 22:30:13 +02:00
Felix Nagel
12dba998f1
Selectmenu: do not follow anchor link when item is clicked
2013-09-25 22:27:03 +02: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
f416a66f59
Selectmenu: Code review.
2013-09-16 14:45:48 -04:00
Scott González
134fcafdda
Merge branch 'master' into selectmenu
2013-09-16 11:58:05 -04: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
Felix Nagel
bdfe7196a2
Selectmenu: lint fix
2013-08-31 11:50:53 +02:00
Felix Nagel
cf6dbd8b6b
Merge branch 'master' into selectmenu
2013-08-31 03:12:22 +02:00
Felix Nagel
67f04e4e42
Selectmenu: update button text when selected option is added
2013-08-31 03:09:57 +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
5a24ee0485
Selectmenu: Override menu's _closeOnDocumentClick function to prevent collapseAll and manually fix focus state on open
2013-08-11 19:17:34 -05:00
Kris Borchers
ec61e54e6f
Merge branch 'master' into selectmenu
2013-08-11 19:16:41 -05: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
Scott González
c9815f13b4
Dialog: Search the correct document for focus trapping. Fixes #9439 - Dialog: Context is not respected for modals.
2013-08-07 08:57:36 -04:00
TJ VanToll
484e382259
Menu: Only set the mouseHandled flag if the event is going to bubble. Fixes #9469 : on( "menuselect" )
...
not firing every time.
2013-08-03 17:43:30 -04:00
Siebrand Mazeland
a3770884ac
Position: Replace double space with single space.
2013-08-02 10:02:27 -04:00
Vilhjálmur Skúlason
369c76d9e6
Datepicker: Fixed Icelandic locale. Fixes #9431 - Datepicker: Wrong dateformat for Icelandic datepicker locale.
2013-08-01 15:39:56 -04:00
Alexander Schmitz
c0ab71056b
Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget factory: Return the constructor from $.widget().
2013-07-31 16:52:21 -04:00
Felix Nagel
34e10c1f87
Merge branch 'master' into selectmenu
2013-07-26 19:28:03 +02:00
TJ VanToll
9470af0bbe
Accordion: Avoid resetting outline on headers. Fixes #9352 : Accordion - Active header has no focus indicator
2013-07-20 17:27:49 -04:00
Gabriel Schulhof
bc857424a3
Widget: Make .enable() and .disable() act via ._setOptions() instead of ._setOption().
2013-07-17 21:00:01 -04:00
Felix Nagel
e217c40287
Selectmenu: introduce _position method for easier extending
2013-07-11 00:45:54 +02:00
Felix Nagel
da4e23874d
Selectmenu: remove ui-front from button
2013-07-09 23:03:40 +02:00
Felix Nagel
05832d6b6a
Merge branch 'master' into selectmenu
2013-07-09 22:55:35 +02:00
Felix Nagel
009aa6a953
Selectmenu: add ui-front class to all appended elements
2013-07-09 22:49:08 +02:00
Scott González
382a77502e
Widget: Remove leftover back-compat handling for widget instance storage (see #8801 ).
2013-07-09 11:12:29 -04:00
Scott González
4148acfa9a
Tabs: Prevent default action of clicks even when disabled. Fixes #9413 - Tabs: Disabled tabs are still clickable.
2013-07-03 14:38:49 -04:00
Felix Nagel
c571f7bea9
Merge branch 'master' into selectmenu
2013-07-01 23:23:50 +02:00
Felix Nagel
ff1bb14579
Selectmenu: prevent widget from item looping
2013-07-01 22:23:12 +02:00
Gan Eng Chin
e591a7a9af
Datepicker i18n: Removed "<" in the "Anterior" text for the pt locale.
...
Removed "<" in the "Anterior" text, so that it is consistent with "Seguinte".
2013-06-26 09:02:59 -04:00
Felix Nagel
9992d4626e
Merge branch 'master' into selectmenu
2013-06-24 20:28:10 +02:00
Rafael Xavier de Souza
d0c613d3a8
Effect: Give puff-effect and size-effect its own files. Previously, they were into scale-effect file.
2013-06-22 11:37:37 -03:00
TJ VanToll
670f650b99
Menu: Ensure an event was passed before checking its type. Fixes #9384 - Menu: _focus function forgets null check with doing a pattern match on event.type
2013-06-20 20:40:00 -04:00
Steven Luscher
fcd1cafac8
Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable
2013-06-19 18:07:38 -04:00
Steven Luscher
bca3e058e8
Clicking on a draggable anchor without moving it should make it the active element ( Fixes #8399 ).
2013-06-19 08:38:57 -04:00
TJ VanToll
91b7b9f9ab
Menu: Reset ui-menu-icons class in refresh. Fixes #9377 : Menu: Refreshing should recheck for menu icons
2013-06-16 22:37:36 -04:00
Jörn Zaefferer
ffc7d310d4
Merge branch 'master' into selectmenu
2013-06-05 14:44:44 +02:00
Scott González
2ba75e2c93
Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.
2013-06-03 15:14:46 -04:00
Scott González
16c375d374
Dialog: Use proper position data after drag and resize. Fixes #9351 - Dialog: Incorrect value for position option after resize.
2013-05-31 15:01:15 -04:00
Felix Nagel
57fa48281c
Merge branch 'master' into selectmenu
2013-05-30 21:28:15 +02:00
Felix Nagel
bfd3c4aace
Selectmenu: remove unused var
2013-05-30 21:25:36 +02:00
Felix Nagel
7be7d96ee2
Selectmenu: use that.focusIndex != null instead of !== undefined when checking first focus event
2013-05-30 21:25:15 +02:00
Felix Nagel
dfbd712d99
Selectmenu: fire focus event when menu is opened
2013-05-30 21:05:48 +02:00
Felix Nagel
a572f72dde
Selectmenu: do not call focus menu method when close method us used
2013-05-30 21:04:45 +02:00
Steven Luscher
699756942f
Droppable: Style guide conformance.
2013-05-29 08:42:25 -04:00
Steven Luscher
a4fc7a9e96
Droppable: Defer querying of offsetWidth and offsetHeight until they're required. Fixes #9339 - Droppable: offsetWidth and offsetHeight are queried unnecessarily causing synchronous reflow.
2013-05-29 08:41:30 -04:00
Christian Klammer
6df5c1a4ae
Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents
2013-05-29 08:18:58 -04:00
Scott González
9e00e00f3b
Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously.
2013-05-28 11:04:42 -04:00
Felix Nagel
cccb8c6e82
Merge branch 'master' into selectmenu
2013-05-24 19:47:42 +02:00
TJ VanToll
c19e7b3496
Dialog: Add type="button" to the close button. Fixed #9312 : Dialog: closes on enter in textbox in IE.
2013-05-23 19:57:32 -04:00
Scott González
daf3f0d9af
Tabs: Restore anchor cloning for remote tab testing. Fixes #9317 - Tabs: Incorrect remote tab detection in IE7.
2013-05-22 13:59:33 -04:00
Brian Grinstead
24756a978a
Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: cannot drag element inside iframe
2013-05-20 22:10:04 -04:00
David Hansen
433ef9d433
Interactions: Fixed an off-by-one error in isOverAxis.
2013-05-20 21:30:16 -04:00
Scott González
2eb89f0734
Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
2013-05-20 11:30:49 -04:00
Felix Nagel
7e0737edc0
Selectmenu: recheck refresh fallback for IE and add a comment
2013-05-16 22:54:29 +02:00
Scott González
9726cd72b6
Datepicker i18n: Updated Spanish and French locales. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish.
2013-05-16 12:14:05 -04:00
Scott González
d500e945a4
Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
2013-05-16 08:34:04 -04:00
Scott González
0da5f9946d
Revert "Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues."
...
This reverts commit 1d3b8ff78e
.
2013-05-16 08:32:58 -04:00
Scott González
1d3b8ff78e
Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
2013-05-16 06:26:03 -04:00
Felix Nagel
cb5f9bb9a2
Merge branch 'master' into selectmenu
2013-05-15 21:07:35 +02:00
Felix Nagel
ddf13472dd
Selectmenu: use dynamic binding for document event
2013-05-15 21:04:10 +02:00
Toshi MARUYAMA
ce73a2688d
Datepicker: Fixed Lithuanian translation. Fixes #9281 - Datepicker i18n: Incorrect settings for Lithuanian locale.
2013-05-10 10:37:05 -04:00
Scott González
ce8f4da4e7
Autocomplete: Remove handling for NUMPAD_ENTER.
2013-05-06 15:04:14 -04:00
Scott González
274ed73cd7
Core: Removed $.ui.keyCode.NUMPAD_*. Fixes #9269 - Remove number pad key codes.
2013-05-02 09:13:19 -04:00
Felix Nagel
6640925db2
Merge branch 'master' into selectmenu
2013-04-29 23:40:26 +02:00
Felix Nagel
61be0e5eb0
Selectmenu: using prop instead of attr to receive disabled state
2013-04-29 23:24:15 +02:00
Felix Nagel
70a43607fa
Selectmenu: do not call _getCreateOptions directly
2013-04-29 23:21:17 +02:00
Felix Nagel
b8339ebc46
Selectmenu: use outerWidth for menu width calculation
2013-04-29 23:13:26 +02:00
Felix Nagel
666927ba91
Selectmenu: add renderItemData method similar to autocomplete
2013-04-29 23:05:07 +02:00
Felix Nagel
d4f13bc213
Selectmenu: add spaces
2013-04-29 22:36:37 +02:00
Felix Nagel
17b6ff71dc
Selectmenu: use guard clause for option length checking in refresh
2013-04-29 22:23:11 +02:00
Felix Nagel
ee9c4434c2
Selectmenu: adjust comments, trim trailing spaces
2013-04-29 22:19:53 +02:00
Felix Nagel
0631d7666f
Selectmenu: rename var to focusIndex
2013-04-29 22:15:50 +02:00
Felix Nagel
5e9ad9b434
Selectmenu: blank before comment
2013-04-29 22:15:29 +02:00
Felix Nagel
00ab497923
Selectmenu: improve readability when creating button elements
2013-04-29 22:14:50 +02:00
Felix Nagel
8b4a3044cb
Selectmenu: set aria states as string if needed
2013-04-29 22:07:41 +02:00
Felix Nagel
b84cd7e686
Selectmenu: simplify tabindex attribute setting on button create
2013-04-29 22:04:56 +02:00
Felix Nagel
68c7485ed9
Selectmenu: Comments start with an uppercase letter
2013-04-29 22:01:51 +02:00
Felix Nagel
a29cfb8bf4
Selectmenu: don't quote click, remove extraneous space
2013-04-29 21:59:55 +02:00
Felix Nagel
60eed79390
Selectmenu: improve id generation
2013-04-29 21:54:36 +02:00
Jason Moon
f5f0879153
Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).
2013-04-25 13:17:21 -04:00
Scott González
947d738c0b
Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used.
2013-04-25 10:59:35 -04:00
Scott González
fadf2b312a
All: Remove inline JSHint settings.
2013-04-22 12:35:21 -04:00
Scott González
7033544cdd
Sortable: Don't create functions inside loops.
2013-04-22 12:33:35 -04:00
Felix Nagel
4efd006e26
Merge branch 'master' into selectmenu
2013-04-21 15:10:38 +02:00
Mike Sherov
d345a0d7db
Draggable: allow draggable to defer destroying itself upon DOM removal until after stop is fired. Fixes #6889 - Draggable: Cursor doesn't revert to pre-dragging state after revert action when original element is removed.
2013-04-12 14:45:48 -04:00
Scott González
0d0b05ec7c
Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
2013-04-11 14:03:51 -04:00
TJ VanToll
2de31fdbf4
Button: On form reset only call refresh on current button widgets. Fixed #9213 : Button: timeout in formResetHandler causing refresh to be called on non-widgets
2013-04-09 22:45:46 -04:00
Scott González
8f9310609a
Updated .jshintrc settings.
2013-04-08 15:02:12 -04:00
Mike Sherov
1c1b64fcf0
Datepicker Tests: Fix IE tests by accounting for async nature of focus/blur and by correctly not double focusing a programmatically focused date picker.
...
A partial fix was implemented to resolve #6694 , and this commit completes the fix so we can programmatically focus a date picker without focus being fired twice.
2013-04-07 14:16:31 -04:00
Scott González
e11cfce801
Datepicker: Remove unused _getBorders() method.
2013-04-03 16:19:39 -04:00
Scott González
cb42ba6fd6
Datepicker: Remove unnecessary global variable now that we don't use inline event handlers anymore.
2013-04-03 16:12:50 -04:00
Scott González
504b100a1a
Datepicker: Fixed date format for Serbian locales. Fixes #7347 - Datepicker: Wrong date format for Serbian localization.
2013-04-03 16:06:15 -04:00
Mike Sherov
49c7b7200e
Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed
2013-04-03 12:26:39 -04:00
Mike Sherov
a88d645140
Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll.
2013-04-02 19:51:36 -04:00
Felix Nagel
73c7342bc4
Merge branch 'master' into selectmenu
2013-04-02 19:42:19 +02:00
Scott González
09b3533910
Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed.
2013-04-02 10:42:21 -04:00
Scott González
5a8596cdf3
Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion.
2013-03-27 15:23:59 -04:00
Scott González
ecd6a25a83
Core: Removed $.ui.hasScroll(). Fixes #9190 - Core: Remove $.ui.hasScroll().
2013-03-27 09:35:17 -04:00
Scott González
b26d207d57
Core: Updated comment about $.ui.plugin.
2013-03-27 09:30:15 -04:00
Scott González
a9e1755cb9
Build: Use globals instead of predef for JSHint.
2013-03-26 14:44:32 -04:00
Mike Sherov
dc5254aa07
Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update
2013-03-23 16:48:19 -04:00
Jason Moon
f306a826a4
Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option
2013-03-23 15:42:38 -04:00
Scott González
ae4753b3f1
Datepicker Added it-CH locale. Fixes #9175 - Datepicker: Add Italian in Switzerland locale.
2013-03-21 17:11:59 -04:00
Scott González
ff11b69a67
Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
2013-03-21 15:54:50 -04:00
Jörn Zaefferer
54092e4f63
Autocomplete: Menu's input option is long gone, remove leftovers
2013-03-21 17:09:21 +01:00
Felix Nagel
26c528a4a3
Selectmenu: Updating to use instance method on bridge, see 4fce29e935
2013-03-19 20:27:12 +01:00
Felix Nagel
ba0e8040f0
Selectmenu: add ui-state-disabled and aria-disabled manually as its removed from Widget, see 44d07173db
2013-03-19 20:20:06 +01:00
Felix Nagel
1ce8d87f8b
Merge branch 'master' into selectmenu
2013-03-19 19:59:31 +01:00
Jörn Zaefferer
90135b27f8
Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations.
2013-03-19 16:53:35 +01:00
Corey Frang
4fce29e935
Widgets: Updating to use instance method on bridge
2013-03-19 16:08:00 +01:00
Corey Frang
36cb6f264d
Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance
method in widget prototype
2013-03-19 16:07:59 +01:00
Mike Sherov
9d8af804ad
Draggable: make sure snap elements are in the document before snapping. Fixes #8459 - Draggable: element can snap to an element that was removed during drag.
2013-03-16 14:36:06 -04:00
Zbigniew Motyka
bd126a9c1c
Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly
2013-03-16 11:51:51 -04:00
Woody Gilk
82f588e82b
Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging
2013-03-15 18:52:56 -04:00
Scott González
932caaf2dd
Core: Deprecated .zIndex(). Fixes #9061 - Core: Deprecate .zIndex().
2013-03-15 07:01:24 -04:00
Scott González
ae9651931f
Datepicker: Don't use .zIndex(); implement the logic locally.
2013-03-15 06:53:09 -04:00
Scott González
43442c3196
Accordion: Remove deprecated content property in create event. Fixes #8999 - Accordion: Remove content property from create event.
2013-03-15 06:45:38 -04:00
Scott González
0cc40d799f
Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove array and string notations for position option.
2013-03-15 06:41:06 -04:00
Scott González
44d07173db
Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
...
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled
This reverts commit 23771d38ba
.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
...
This reverts commit 4d67f4f349
.
2013-03-14 15:07:06 -04:00
Scott González
054449e214
Sortable: Only animate along the specified axis when reverting. Fixes #7415 - Sortable: Incorrect revert animation with axis: 'y'.
2013-03-13 11:31:54 -04:00
Mike Sherov
4d67f4f349
Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
...
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Jörn Zaefferer
775b81b9e6
Selectmenu: Remove aria-selected, since that only causes NVDA to announce 'not selected', doesn't have any positive effect
2013-03-09 13:00:38 +01:00
John Chen
07ce771a13
Sortable: Skip triggering over event if it's alreay over the continer. Fixes #9041 : the over event fires on every pixel movement
2013-03-08 16:52:35 -05:00
John Chen
89473f6557
Sortable: Skip items that are not at the same line as the cursor when floating. Fixes #8792 : Issue with floated items in connected lists.
2013-03-08 16:52:21 -05:00
Scott González
e0b2644d91
Removed guard against duplicate loading. Use safe references to original functions when proxying, don't rename originals.
2013-03-08 10:23:25 -05:00
Scott González
cdff72efed
Draggable: Account for descendants in handle.
2013-03-08 10:08:58 -05:00
TJ VanToll
6358695df1
Draggable: Fix border containment. Fixed #5569 - Draggable: Containment incorrectly calculates padding and border
2013-03-07 21:42:28 -05:00
Felix Nagel
0bf91a41c6
Merge branch 'master' into selectmenu
2013-03-07 23:56:48 +01:00
Felix Nagel
66ba39094e
Selectmenu: remove button wrapper element
2013-03-07 23:53:15 +01:00
Jörn Zaefferer
022079a782
Selectmenu: Switch to span to avoid cranky click/keydown event handling
2013-03-07 23:23:10 +01:00
Felix Nagel
6e80a19d02
Selectmenu: improve keyboard control
2013-03-07 22:57:49 +01:00
Felix Nagel
f128292636
Selectmenu: fix keyboard control issue
2013-03-07 20:10:56 +01:00
Felix Nagel
f08b0af1be
Selectmenu: make sure menu is refreshed at least once before opening
2013-03-07 19:34:13 +01:00
Felix Nagel
8787cb0456
Selectmenu: switch from a to button element
2013-03-07 19:15:37 +01:00
Scott González
b9be6bb7ad
Sortable: Copy the src of the original item when creating a placeholder from an image. Fixes #5129 - Sortable: Unable to use an image as a placeholder in Firefox.
2013-03-07 12:55:00 -05:00
Mike Sherov
c278a4461b
Draggable Tests: Add test coverage for supported options
2013-03-04 01:05:11 -05:00
Felix Nagel
dffe8f6610
Merge branch 'master' into selectmenu
2013-03-03 13:48:01 +01:00
Jörn Zaefferer
d94e217065
Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables)
2013-03-01 17:18:03 +01:00
Scott González
6f29577436
Effects: Handle the .hide/show/toggle( options ) signatures from core properly. Fixes #9126 - .show()/.hide() do not support all of core's options.
2013-02-28 13:34:49 -05:00
Scott González
948563b8b5
Effects: Delegate to core show/hide when the element is already in the correct final state. This forces the element to go through the olddisplay tracking and forces styles on elements even if they're hidden via an ancestor. Fixes #9120 - Effects: .hide() inconsistent with core with a hidden parent.
2013-02-26 10:36:03 -05:00
Zaven Muradyan
1c80735acb
Droppable: Changed drop event to loop over a copied array instead of the droppables directly. Fixed #9116 - Droppable: Drop event can cause droppables to remain active if any droppable is created/destroyed in the event handler.
2013-02-26 09:56:18 -05:00
Scott González
e9c04bfa43
Position: Fix orientation check for scrollbar widths. Fixes #8763 - Position: getScrollInfo() swapped width and height.
2013-02-26 08:59:28 -05:00
Scott González
d5d3a745b0
Autocomplete: Set isNewMenu flag on every suggestion. Fixes #9118 - Autocomplete: Mouse auto-highlights option in Firefox.
2013-02-25 15:36:08 -05:00
Scott González
2348fb8eb9
Spinner: Call _stop() on blur. Fixes #9112 - Spinner keeps changing after losing focus.
2013-02-22 09:15:43 -05:00
Steve Urmston
a924af12b6
Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Draggable: revert option reset after being added to a connectedSortable.
2013-02-21 08:20:41 -05:00
Scott González
bd47bd4ace
Sortable: When sorting table rows, create a td to force dimensions. Fixes #4765 - Sortable: Placeholder not displayed when sorting table rows.
2013-02-20 20:16:29 -05:00
Scott González
51eb28e76e
Dialog: Extract check for which elements can gain focus into its own method for overriding. Fixes #9087 - Dialog: Allow registering elements outside a dialog for use when a modal dialog is open.
2013-02-20 17:35:48 -05:00
Christian Wenz
10ca48308f
Datepicker: Updated German locale. Fixes #9098 - Datepicker German localization - make casing of previous/next/today consistent.
2013-02-19 15:21:48 -05:00
Scott González
5e1b8dc71a
Dialog: Don't hard-code widget data key. Fixes #9097 - UI dialog inheritance.
2013-02-18 16:07:15 -05:00
Nathanael Silverman
a692bf9b70
Sortable: Inject a CSS rule to style the cursor. Fixed #7389 - sortable: 'cursor' option didn't override CSS cursor settings.
2013-02-18 10:10:01 -05:00
Felix Nagel
50bb89f3be
Selectmenu: follow-up to: menuItems now contains link elements instead of list elements
2013-02-13 23:30:37 +01:00
Felix Nagel
06eb3bff6a
Selectmenu: menuItems now contains link elements instead of list elements
2013-02-13 23:09:00 +01:00
Felix Nagel
8a5e8696ad
Selectmenu: aria-activedescendant should be set when item is selected, not when menu is closed
2013-02-13 23:07:25 +01:00
Felix Nagel
640d3080eb
Selectmenu: menu focus reset when menu is closed, prevents issues when using keyboard control on button when focusing menu item before
2013-02-13 22:42:05 +01:00
TJ VanToll
a5469750ae
Merge branch 'draggable_fix_9077'
2013-02-12 21:28:23 -05:00
TJ VanToll
3d39d8c32f
Removing unnecessary wrapping of this in draggable's stack option handling.
2013-02-12 21:27:21 -05:00
Scott González
bce9da4206
Datepicker i18n: Change Slovak day/month names to lowercase. Fixes #9078 - Datepicker Slovak localisation - name of day/month is always lowercase.
2013-02-12 09:57:29 -05:00
David Petersen
c958b211db
Position: Handle decimal percentage offsets. Fixes #9076 : percentage offset does not support decimal
2013-02-12 07:05:19 -06:00
TJ VanToll
c32bebd1bd
Draggable: Account for z-index set in CSS for the stack option. Fixed #9077 - Draggable: stack option resets the z-index
2013-02-11 23:29:48 -05:00
Felix Nagel
a7b4f29cea
Merge branch 'master' into selectmenu
2013-02-09 03:29:10 +01:00
Felix Nagel
9719719e60
Selectmenu: rename _setSelected to _setAria
2013-02-09 03:24:50 +01:00
Felix Nagel
3a17a91f30
Selectmenu: click on the text of the button did not open the menu in Webkit browsers
2013-02-08 22:05:26 +01:00
Scott González
7d5fe02dd9
Autocomplete: Use .ui-front instead of .zIndex() for the suggestions menu.
2013-02-05 13:01:32 -05:00
Scott González
7a49ee4cd3
Datepicker: Use entity number instead of entity name when escaping single quotes.
2013-02-05 10:13:27 -05:00
Scott González
101a09d31f
Autocomplete: Optimize element type checks for speed and size.
2013-02-05 09:34:32 -05:00
David Petersen
df077abfc2
Slider: allow range option to be changed. Fixed #5602 - Slider Does Not Exhibit Proper Behavior When Switching Range
2013-02-05 08:31:42 -06:00
David Petersen
a129a93a4d
Slider: Add disabled tests and remove disabled prop from handles
2013-02-04 14:43:56 -06:00
Scott González
a7353e7c9b
Dailog: Cover iframes during drag and resize. Fixes #7650 - Dialog cannot be dragged properly with IFRAME.
2013-02-03 08:55:34 -05:00
Scott González
8724092e50
Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: broken focusin event handler when beforeclose event of a modal opens another modal.
2013-02-02 19:32:42 -05:00
Vahid Sohrabloo
2df2abcbf1
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains().
2013-02-02 15:29:31 -05:00
Scott González
df179542cc
Datepicker: Escape single quotes in tooltips. Fixes #9049 - Datepicker beforeShowDay tooltip not displayed properly if single quote is used.
2013-02-01 16:52:04 -05:00
Scott González
7bbda71a32
Dialog: Check for empty array in addition to empty object when checking if there are buttons. Fixes #9043 - Dialog: Buttonpane shown with no buttons when modifying native prototypes.
2013-02-01 08:59:55 -05:00
Scott González
62cda1f95d
Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.
2013-01-31 17:20:19 -05:00
Scott González
c193a0ce17
Menu: Escape em and en dashes in regex. Fixes #9016 - Menu: Non-ASCII characters.
2013-01-31 09:05:16 -05:00
Kris Borchers
d1505e3434
Dialog: Move call to _focusTabbable and triggering of open and focus events into the _show callback. Fixes #6756 - Dialog: show: "blind" with link in content doesn't animate properly. Fixes #8051 - Dialog: 'Explode' dialog animation causes crash in IE 6, 7 and 8. Fixes #4421 - Dialog: Focus lost from dialog which uses show-effect
2013-01-30 12:30:37 -06:00
Felix Nagel
91dde04dad
Merge branch 'master' into selectmenu
2013-01-30 18:10:39 +01:00
David Petersen
2ca4d17982
Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass
2013-01-29 07:47:54 -06:00
Thomas Jaggi
3aa8ad0c4a
Slider: Added rounded corners to range area. Fixed #9024 - Slider: Range area needs rounded corners, too
2013-01-28 16:03:42 +01:00
David Sullivan
55360eeb7e
Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option
2013-01-26 11:34:51 -05:00
Scott González
c53198c209
Dialog: Allow interaction with datepickers from modal dialogs. Fixes #8989 - Dialog: Cannot change month/year in datepicker within modal.
2013-01-25 08:51:13 -05:00
David Petersen
649f105229
Dialog: Don't handle overlays on destory if there are not any. Fixed : #9004 - failed in _destroyOverlay when I destroy a modal dialog thau was never opened. Fixed : #9000 Dialog leaves broken event handler after close/destroy in certain cases
2013-01-24 13:43:02 -06:00
David Petersen
f7f165c9f8
Merge pull request #891 from petersendidit/datepicker_8994
...
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 -...
2013-01-23 11:50:00 -08:00
David Petersen
8f7c3e309c
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 - Datepicker: next and prev buttons are disabled when using yearRange
2013-01-23 13:41:01 -06:00
Scott González
10c873ab6c
Accordion: Add panel in addition to content for create event. Fixes #8998 - Accordion: Create event uses content instead of panel.
2013-01-22 09:19:04 -05:00
Scott González
673c6558e0
Accordion: Properly set corner classes on refresh. Fixes #8995 - Accordion: Corner display issues.
2013-01-22 08:56:38 -05:00
Felix Nagel
f5e65b0819
Merge branch 'master' into selectmenu
2013-01-18 19:25:30 +01:00
Corey Frang
722c4bed99
Updating to jQuery Color 2.1.2
2013-01-16 11:15:16 -06:00
Dominic Barnes
176e0ed0e6
Slider: Moved events to named functions (to allow extended plugins to hook in).
2013-01-14 12:48:32 -05:00
Mike Sherov
e4a786e1a4
Tooltip: Avoid errors on mouseover of tooltips with parents that have no title attribute. Fixes #8955 - Tooltip: error when parent element has no title attribute using jQuery <1.7
...
This corrects a failing test with core 1.6, so no new test is required.
2013-01-11 08:35:51 -05:00
Felix Nagel
4d77ca3e21
Selectmenu: Update copyright year to 2013
2013-01-10 19:16:41 +01:00
Felix Nagel
dcb28a7c71
Merge branch 'master' into selectmenu
2013-01-10 19:13:54 +01:00
Scott González
83cbf97978
Update copyright year to 2013.
2013-01-10 08:52:20 -05:00
Mike Sherov
78a6354180
Effects: fix backwards compatibility in animateClass for jQuery Core <1.8
2013-01-08 21:36:34 -05:00
Scott González
68e5ebcf1a
Datepicker i18n: Fix line endings.
2013-01-08 08:09:34 -05:00
Mike Sherov
da01fb6a34
Effects: Avoid cssHook blending in non-rgba browsers when the value is "transparent". Fixes #8914 : odd behaviour of css hook when setting backgroundColor to transparent in IE7/8
2013-01-03 14:33:41 -05:00
Jörn Zaefferer
fb47fd0310
Merge branch 'master' into selectmenu
2013-01-03 09:45:09 +01:00
Mike Sherov
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
b477098da5
Slider: add options for event callbacks
2013-01-02 14:58:12 -05:00
Felix Nagel
c9602857dd
Selectmenu: improve element creation
2013-01-02 19:52:18 +01:00
Felix Nagel
1ba02e9c5f
Merge branch 'master' into selectmenu
2013-01-02 19:38:55 +01:00
Felix Nagel
2eb92232f3
Selectmenu: make sure position option could be overwritten
2013-01-02 19:36:56 +01:00
TJ VanToll
695358983e
Selectable: Account for scrolling on the helper's initial position. Fixed #8915 - Selectable: Lasso offset issue with scrolling.
2013-01-01 08:22:18 -05:00
Kris Borchers
5561f5db12
Add comment explaining the mouseHandled flag
2012-12-29 20:08:35 -06:00
Kris Borchers
5143b7f672
Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select event not firing due to mouseHandled flag reset bug
2012-12-27 21:06:54 -06:00
Jörn Zaefferer
2c3d311f90
Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init
2012-12-27 17:23:25 +01:00
Jörn Zaefferer
0d53fbfd0b
Spinner: Trigger start/spin/stop events when calling step/page methods. Fixes #8901 - Spinner does not fire start/spin/stop events when calling stepUp()/Down(), pageUp()/Down() methods
2012-12-27 17:06:01 +01:00
Jörn Zaefferer
04d668b717
Spinner: Update button icons when option changes. Fixes #8926 - Spinner: Can't change icons option after init
2012-12-27 12:50:04 +01:00
Mike Sherov
74d7eac2da
All: Convert single quotes to double quotes.
2012-12-25 12:01:09 -05:00
Mike Sherov
63d624fcb5
Datepicker: Use tabs for indentation.
2012-12-25 08:41:09 -05:00
Felix Nagel
44e472a613
Merge branch 'master' into selectmenu
2012-12-20 22:05:23 +01:00
Scott González
e21fc29610
Datepicker: Remove data event handlers from the dark ages.
2012-12-20 10:12:40 -05:00
Felix Nagel
dab7bf8993
Merge branch 'master' into selectmenu
2012-12-20 00:32:28 +01:00
Felix Nagel
50d7a969a5
Selectmenu: improve _setOption to make it possible to change icons option after init
2012-12-20 00:16:37 +01:00
Felix Nagel
a787d52d4a
Selectmenu: make dropdown style default and remove option dropdown
2012-12-20 00:10:06 +01:00
Felix Nagel
52fc8e3c70
Selectmenu: add option icons
2012-12-18 19:55:04 +01:00
Dominic Barnes
209443d716
Slider: Create clone of options.values during _create(). Fixed #8892 - Multiple Sliders have Conflict with options.values.
2012-12-18 11:48:10 -05:00
Scott González
9cbd4b4222
Tooltip: Clear the tracking interval on close. Fixes #8920 -Tooltip potential setinterval endless loop.
2012-12-18 08:38:36 -05:00
Matthieu Penant
9f841dffcc
Datepicker: Added Candian French locale. Fixes #8917 - Datepicker: Add Canadian French locale.
2012-12-17 08:30:23 -05:00
Felix Nagel
1afede867d
Selectmenu: remove zIndex
2012-12-16 01:44:19 +01:00
Felix Nagel
76f335ea68
Selectmenu: CGL and lint fixes
2012-12-15 02:40:14 +01:00
Felix Nagel
57ecee889d
Selectmenu: rework appendTo functionality
2012-12-15 02:21:51 +01:00
Felix Nagel
8aa24dd1d5
Merge branch 'master' into selectmenu
2012-12-15 01:10:32 +01:00
Felix Nagel
e2b5123f37
Selectmenu: introduce _setText helper function to improve handling of empty strings
2012-12-14 18:04:51 +01:00
Scott González
8ec7a1b69f
All: Use .addBack() instead of .andSelf().
2012-12-14 11:13:50 -05:00
Scott González
80e46c93a8
Autocomplete: Append to closest .ui-front if available.
2012-12-14 09:10:32 -05:00
Felix Nagel
1ea22565d3
Selectmenu: fix closing of empty selects
2012-12-13 01:12:52 +01:00
Felix Nagel
c69d01bed7
Selectmenu: replace placeholder entity with  
2012-12-13 00:54:45 +01:00
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
Scott González
ff78d0bbce
Core: Moved selectstart support test to deprecated section.
2012-12-12 11:22:08 -05:00
Scott González
f5aaf874e9
Progressbar: Moved .ui-progressbar-indeterminate to main element. Added tests for markup structure.
2012-12-12 11:21:49 -05: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
Felix Nagel
ac7b8f925a
Selectmenu: improve comment in _drawMenu
2012-11-29 20:20:43 +01:00
Felix Nagel
1e6808a1a2
Selectmenu: replace placeholder entity with  
2012-11-29 20:13:57 +01:00
Felix Nagel
a177a92635
Selectmenu: improve element creation
2012-11-29 20:10:05 +01:00
Felix Nagel
e581a13c10
Selectmenu: remove unnecessary comments from _drawButton
2012-11-29 20:06:00 +01:00
Felix Nagel
71e744ad30
Selectmenu: move button event binding in _drawButton
2012-11-29 19:54:10 +01:00
Felix Nagel
080b5bca0a
Selectmenu: remove unnecessary comments from _create
2012-11-29 19:53:12 +01:00
Felix Nagel
b014bc6245
Selectmenu: alphabetical ordering of options and callback events
2012-11-29 19:49:43 +01:00
Felix Nagel
8a62210538
Selectmenu: updated documentation link
2012-11-29 19:41:20 +01:00
Jörn Zaefferer
24d9141597
Dialog: Use consistent code for appending to body
2012-11-29 17:40:31 +01:00
Felix Nagel
7328333773
Selectmenu: better position handling, fixes issue with wrong styles when using custom positioning
2012-11-29 00:58:28 +01:00
Felix Nagel
36533a718d
Merge branch 'master' into selectmenu
2012-11-28 23:29:15 +01:00
Scott González
dec844570f
Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM.
2012-11-28 10:33:59 -05:00
Scott González
f2854408cc
Tooltip: Escape the title attribute so that it's treated as text and not HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content.
2012-11-27 11:21:33 -05:00
Viktor Kojouharov
c5e0961268
Effects: Use $ instead of jQuery in $.effects.animateClass. Fixes #8860 - Effects: Class animation has broken noConflict support.
2012-11-27 08:27:48 -05:00
Scott González
e6e706bbd6
Datepicker: Remove JSHint overrides.
2012-11-27 08:22:21 -05:00
Scott González
7c53af0abc
Datepicker: Remove support for setting options via custom attributes.
2012-11-26 22:50:36 -05:00
Fabrício Matté
caacf8f504
Button: Let change handler handle display and aria update. Fixed #5518 - Button: Incorrect state after double click in Firefox
2012-11-26 20:15:53 -05:00
David Petersen
6121683d80
Tabs: Calculate border and padding on tabs container. Fixed #8836 : Height overflows parent with heightStyle: 'fill'.
2012-11-26 16:35:07 -05:00
TJ VanToll
0cd470b0d5
Resizable: Modified the default z-index value of resizable handles. Fixed #7960 - Dialog: Modal dialogs do not disable resizables on the page.
2012-11-26 12:42:44 +01:00
Jörn Zaefferer
7e9060c109
Dialog: Extract setting the title into a _title method, use .text() to prevent XSS. Fixes #6016 - Dialog: Title XSS Vulnerability.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
60486ac632
Dialog: Don't focus dialog when mousedown is on close button. Fixes #8838 - Dialog: Close icon does not work in dialog larger than the window in IE.
2012-11-26 10:28:25 +01:00
Kris Borchers
d179cbaf32
Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
ec1f1bde76
Dialog: Follow-up to c77ca67
- exclude button options from properties to create the button.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
a09f5c07f5
Dialog: Follow-up to 9fe3a62d8
- also deprecate string notation for position option.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
32a893128d
Dialog: Improve _destroy method, detaching dialog content from wrapper instead of appending to body.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
41c2afd66b
Dialog: Refactor overlay handling into two instance methods. Remove unaddressable TODOs.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
a0310eb091
Dialog: Move array notation support for position option to backCompat check. Fixes #8824 - Deprecate array notation for position option.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
0be97bf8c0
Dialog: Removed broken disabled option from dialog, defuse disable/enable methods. Disabling dialogs is not supported.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b27db7e3b9
Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
999617343f
Dialog: Pass through icons and showText (as 'text') options to button. Fixes #6830 - Allow Icons to be specified for Dialog buttons.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
d8b98ec3bb
Dialog: Tiny code improvements
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
e3dcaf28eb
Dialog: Remove uuid and getTitleId. Leftovers from 240b22b143
.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0bc73b74b6
Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed outdated TODOs.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
972f5c192c
Dialog: Button is now a fixed dependency, so remove the check
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0ae6fc1e02
Dialog: Remove useless tmp vars.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
625a111fb9
Dialog: Extracting wrapper creation into _createWrapper. Merging the two keydown handlers into one.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
4c9caa8169
Dialog: Extract button pane creation into _createButtonPane
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
1d6ce644e0
Dialog: Refactor _create, extracting title bar creation in _createTitlebar
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
f0acaac230
Dialog: Refactor uiDialogTitlebar variable, use this.uiDialogTitlebar instead. Wasn't needed anymore (previous refactorings).
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
7a0353500a
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-26 10:28:22 +01:00
Jörn Zaefferer
1001504249
Dialog: Remove outdated TODO
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
c8aef203cb
Dialog: Have _makeResizable look at options instead of passing handles.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
16a79c1b9c
Dialog: Finish refactoring _setOption, getting rid of unnecessary switch (no fallthroughs).
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
7e964be80c
Dialog: Have _createButtons access the buttons option directly. Start refactoring _setOption, no need for switch.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
fed2972027
Dialog: Refactor _setOption to call _super early. Move dialogClass update above that to access old option value.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
83a9f219bf
Dialog: Use button widget for close button (was already listed as dependency)
2012-11-26 10:28:21 +01:00
Jörn Zaefferer
0848040d3e
Dialog: Focus tabbable only when dialog lost focus before.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
6edce86733
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-26 10:26:12 +01:00
Jörn Zaefferer
f7d3a51589
Dialog: Only add the new dialogClass, not the base classes when changing the option.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
324d54dd32
Dialog: Use $.isEmptyObject() to check if there a button-option properties
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
4e03321fd7
Dialog: Trigger focus event when dialog is moved to top.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
b6cefc797e
Dialog: Remove deprecated disableSelection() usage.
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
4632780435
Dialog: Fix yoda-if, remove unnecessary TODOs; add missing callbacks to commons test
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
2062a18db6
Dialog: Inline code review
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
0a25b2c448
Dialog: move to top when opening again, and focus as if opened from scratch.
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
8ee8046c02
Dialog: Keep focus inside modal dialog, by handling focus events on elements outside of it
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
2a887e4321
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-26 10:26:11 +01:00
Corey Frang
d7adc2bae9
Effects Core: Upgrading jQuery Color to 2.1.1
2012-11-23 11:18:07 -06:00
Felix Nagel
4e68c526ab
Selectmenu: removed Position Plugin offset option to fix broken pop-up functionality
2012-11-23 15:38:33 +01:00
Felix Nagel
e25cdd88e7
Merge branch 'master' into selectmenu
2012-11-23 13:49:12 +01:00
Corey Frang
a217bd3b16
Effects: Making sure outerHeight and outerWidth make it through to the .size() implementation in all cases - Fixes IE8 effects failure
2012-11-22 04:12:30 -06:00
kborchers
d3bc471688
Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar
2012-11-21 21:48:17 -06:00
Mike Sherov
509259a66e
Button: add explanatory comment for when we bind to blur
2012-11-21 19:58:59 -05:00
TJ VanToll
93abe02b60
Button: Fixing handling of the disabled options on refresh method calls. Fixed #8828 - Button: Refresh does not re-enable disabled button.
2012-11-21 19:24:24 -05:00
Samuel Bovée
cb748b4a6f
Slider: factorize code with Widget method call. Fixed #8772 - Wrong slider UI state when disabled at init
2012-11-21 19:18:00 -05:00
Mike Sherov
f13b5dfa7f
Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.
2012-11-21 19:14:04 -05:00
Scott González
d5afdba4cb
Autocomplete: Whitespace.
2012-11-19 17:08:41 -05:00
Roman Salnikov
7ffcaa2e3b
Datepicker: reinitialize datepicker if mainDiv isn't on the page. Fixed #5679 - Datepicker should reinitialize if dpDiv is removed
2012-11-19 09:15:10 -05:00
mathias.stenbom
cf9fbce139
Draggable: made handles work with complex markup. Fixes #8757 - Draggable: Resizable handle with inner element does not work, when its also draggable
2012-11-19 09:06:50 -05:00
Mike Sherov
cc7df712cc
Button: properly escape button names. Fixes #7505 - Button: Buttonset not applied to radio group with quotation/apostrophe in name.
2012-11-19 08:37:41 -05:00
Mike Sherov
4334b5d4f1
Dev: make Datepicker pass JSHint with only eval setting overridden
2012-11-18 15:01:30 -05:00
Mike Sherov
53c462b666
Dev: make draggable pass JSHint with no local overrides
2012-11-18 11:44:12 -05:00
Mike Sherov
0e800636c4
Dev: Make droppable pass JSHint with no local settings overrides
2012-11-17 14:51:56 -05:00
Mike Sherov
5bae9a4763
Dev: Make sortable pass JSHint with only the loopfunc setting override
2012-11-17 14:24:44 -05:00
Mike Sherov
a1b32b59d5
Resizable: use css() instead of position() for absolute placement. Fixes #3815 - Resizable: absolutely positioned element inside scrollable element is repositioned when resized
2012-11-17 01:29:39 -05:00
Mike Sherov
9eaa572de1
Dev: Make resizable pass JSHint without any settings overrides
2012-11-17 00:08:01 -05:00
Scott González
3541c54082
Tabs: Removed some legacy code that isn't doing anything.
2012-11-16 16:57:36 -05:00
Scott González
23f7e30c77
Tabs: Remove ui-tabs-aria-controls data on destroy.
2012-11-16 16:10:22 -05:00
Juan Pablo Kaniefsky
a18863205e
Slider: when handles overlap, clicking and dragging will now pick the last one that was moved. Fixed #3467 - Sliders Handles can overlap, only small sliver of slider is selectable
2012-11-16 09:32:56 -05:00
Jörn Zaefferer
f86168bf6b
Merge branch 'master' into selectmenu
2012-11-15 17:14:19 +01: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
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
Felix Nagel
daec559c98
Merge branch 'master' into selectmenu
2012-11-12 23:28:24 +01:00
Felix Nagel
12fe28fefd
Selectmenu: cleanup, CGL and lint fix
2012-11-12 23:06:05 +01: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
Felix Nagel
7ce8e0515e
Merge branch 'master' into selectmenu
2012-11-10 01:40:05 +01:00
Felix Nagel
a9a6e3beaf
Selectmenu: proposed fix for menu delay issue
2012-11-10 01:25:30 +01:00
Felix Nagel
7725e4adba
Selectmenu: focus selected item when menu opens
2012-11-10 01:18:49 +01:00
Mike Sherov
d6c6b7dc33
Dev: make sure all files can pass JSHint!
2012-11-09 17:30:43 -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
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
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
Scott González
498aadf644
Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip is shown, but not hidden if element has class=ui-state-disabled.
2012-11-09 13:07:53 -05:00
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
Sergey Kartashov
1e19e5e90b
Datepicker: Added Kyrgyz localization. Fixes #8787 - Datepicker: Add Kyrgyz localization.
2012-11-07 14:26:47 -05: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
Scott González
979bcab513
Revert "Datepicker: Added Kyrgyz localisation"
...
This reverts commit 4995ea05fe
.
2012-11-06 15:09:21 -05:00
elisy
4995ea05fe
Datepicker: Added Kyrgyz localisation
2012-11-06 12:48:19 -05:00
Scott González
c6b52db892
Tabs: Encode spaces from window.location. Fixes #8777 - Tabs fail in Safari 5.1 when window.location contains a space.
2012-11-06 08:01:11 -05:00
Scott González
886d6fe9fb
Core: Patch over broken .removeData() in jQuery 1.6.1 + 1.6.2.
2012-11-05 15:38:31 -05:00
Scott González
8a32c39136
Core: Moved old jQuery support code to the bottom (above deprecated).
2012-11-05 15:24:45 -05:00
Scott González
02694a90f3
Tooltip: Use ui-tooltip-open instead of tooltip-open for data key.
2012-11-05 15:03:15 -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
1d9eab1ead
Tooltip: Make 'flipfit flip' the collision default to avoid the tooltip ever overlapping the trigger. Also fix max-width for custom-content demo. Fixes #8739 - Tooltip: Default positioning on large items off.
2012-11-05 19:05:58 +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
c677275821
Core: Simplify IE check now that we don't care about IE6.
2012-11-05 11:28:04 -05:00
Scott González
a8de99c791
Dialog: Don't use .attr( props, true ).
2012-11-05 09:37:19 -05: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
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
Corey Frang
a688e7c8d4
Mixed spaces and tabs removed
2012-10-29 13:37:06 -05: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
Felix Nagel
684b55bcbc
Selectmenu: Do not remove ui-state-focus class on first button focus (follow-up)
2012-10-27 20:49:35 +02:00
Scott González
995eb1261e
Core: Removed $.ui.ie6.
2012-10-26 16:08:05 -04:00
Scott González
5bd19650a3
Datepicker: Removed iframe cover for IE6.
2012-10-26 15:59:29 -04:00
Scott González
d73edfff76
Resizable: Removed pixel shifting for IE6.
2012-10-26 15:48:37 -04:00
Scott González
0c672543bf
Core: Removed $.support.minHeight.
2012-10-26 15:45:34 -04:00
Scott González
5bd4b11d9b
Dialog: Removed minHeight workaround for IE6.
2012-10-26 14:36:35 -04:00
Scott González
da1255a392
Tabs: Removed overflow workaround for IE6.
2012-10-26 14:34:03 -04:00
Scott González
17227498f4
Accordion: Removed overflow workaround for IE6.
2012-10-26 14:32:28 -04:00
Felix Nagel
b6e1c86864
Selectmenu: Do not remove ui-state-focus class on first button focus
2012-10-26 19:29:30 +02:00
Scott González
68cab60fa7
Removed bgiframe.
2012-10-26 10:53:17 -04:00
Felix Nagel
228a9b91fb
Selectmenu: follow-up for menu, reset aria-activedescendant to selected item when menu is closed
2012-10-26 00:41:17 +02:00
Felix Nagel
a59b3c7585
Selectmenu: reset aria-activedescendant to selected item when menu is closed
2012-10-26 00:33:20 +02:00
Felix Nagel
7c1a9d9a36
Selectmenu: hopefully fixed multiple a11y bugs (value is recognized by screenreader: in collapsed state, when selecting a value, on tab focus; label points to button now)
2012-10-25 23:57:36 +02:00
Felix Nagel
b2d50f9ffc
Selectmenu: fixed aria-activedescendant for button element
2012-10-25 22:24:37 +02:00
Felix Nagel
9cf0f21efd
Selectmenu: add removeUniqueId to destroy method
2012-10-25 20:55:48 +02:00
Felix Nagel
b8cce0c3e1
Selectmenu: small improvement for label id setting
2012-10-25 20:54:27 +02: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
7678b90ae8
Widget: Removed use of metadata. Fixes #7192 - Widget: Remove use of metadata.
2012-10-25 06:52:29 -04:00
Scott González
cb030cbc1b
Widget: Removed widgetBaseClass property. Fixes #8155 - Widget: Remove widgetBaseClass property.
2012-10-25 06:50:08 -04:00
Scott González
9202bb7df5
Autocomplete: Removed data fallback for item.autocomplete. Fixes #8156 - Autocomplete: Remove data fallbacks.
2012-10-25 06:47:19 -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
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
d07074dc3c
Dialog: Use _show and _hide consistently. Fixes #4892 - Dialog: zIndex error with animated modal dialog.
2012-10-24 17:03:00 -04:00
Jörn Zaefferer
513b6da641
Dialog: Keep focus inside dialog, even when dialog itself has focus.
2012-10-24 17:03:00 -04:00
David Souther
3a09a4a0de
Dialog: Prevent tabbing off any dialog. Fixes #3768 - Dialog: contain focus within dialog.
2012-10-24 17:03:00 -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
Scott González
eaadcc0eeb
Widget: Bind the remove event to the element, not the .widget() element.
2012-10-24 12:00:03 -04:00
Kato Kazuyoshi
5f9d5c54c3
Effects (size): Adjusting behavior of toggled size effects - See gh-203 - Partial Fix for #7041
2012-10-24 10:27:12 -05: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
11effcbd35
Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled.
2012-10-23 14:50:02 -04:00
Maciej Mroziński
f4b3cd5271
Accordion: Remove code that sets accordion height. Fixed #8696 - Multiple collapsible Accordions won't work together.
2012-10-23 14:11:22 -04:00