Commit Graph

3040 Commits

Author SHA1 Message Date
TJ VanToll
e6360ab846 Spinner: Only format the value when there is one. Fixes #9573 - Spinner: forces a field validation in Firefox before field loses focus or form is submitted 2013-09-27 14:23:07 -04:00
Kris Borchers
485e0a0612 Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget 2013-09-17 13:03:18 -05:00
Scott González
d13df39e39 Widget: Only remove hover and focus classes when disabling, not enabling. Fixes #9558 - Widget: .enable() while already enabled kills ui-state-focus and ui-state-hover. 2013-09-16 11:57:35 -04:00
Jörn Zaefferer
1552fc8a05 Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method 2013-09-13 00:16:31 +02:00
Jörn Zaefferer
6e799c39d3 Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional. 2013-09-11 22:26:34 +02:00
TJ VanToll
eae2c4b358 Draggable: Safe activeElement access from iFrames for IE9, prevent window focus changes in IE9+. Fixed #9520 - Draggable: Browser window drops behind other windows in IE9/10 2013-08-28 11:35:21 -04:00
Scott González
e628d0e4ba Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: Capitalize 'close' for closeText option. 2013-08-15 16:56:49 -04:00
Mike Sherov
263d078944 Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - Draggable: jumps down with offset of scrollbar 2013-08-12 19:32:01 -04:00
Kris Borchers
cceb163548 Menu: Make check for click outside of menu a function which can be overridden. Fixes #8929 - Menu needs adjustement for use in Selectmenu 2013-08-11 19:11:23 -05:00
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
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