Commit Graph

3076 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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