Scott González
2ea46ae1af
Calendar: Add build metadata
2015-01-29 18:01:31 -05:00
Scott González
c1b6891c9a
Datepicker: Update description metadata
2015-01-29 18:01:31 -05:00
Felix Nagel
9d423e5b6f
Calendar: Sanitize active descendant id selector
2015-01-29 18:01:30 -05:00
Felix Nagel
43f66b8b67
Calendar: Make use of _setOptions to call refresh
...
Prevents refresh from being called multiple times.
2015-01-29 18:01:30 -05:00
Felix Nagel
ee83c37e0f
Calendar: Remove option method overwrite
2015-01-29 18:01:30 -05:00
Felix Nagel
32891588f4
Datepicker: Add missing handling for disabled option
2015-01-29 18:01:30 -05:00
Felix Nagel
e507477603
Calendar: Use _on for link hover events
2015-01-29 18:01:30 -05:00
Felix Nagel
9461f6680b
Calendar: Add buttons option
2015-01-29 18:01:29 -05:00
Felix Nagel
5df6d39d13
Datepicker: Improve localization handling, code style
2015-01-29 18:01:29 -05:00
Felix Nagel
2e2787dcfe
Calendar: Fix hover event setting and removing
2015-01-29 18:01:29 -05:00
Felix Nagel
b9d8f624ba
Datepicker: Several minor code improvements
...
Several minor code improvements and make suppressExpandOnFocus
an internal variable, remove partial button widget usage in header
2015-01-29 18:01:29 -05:00
Felix Nagel
90c704f1a8
Calendar: Fix broken day table cell attributes
2015-01-29 18:01:28 -05:00
Felix Nagel
43025392c5
Datepicker: Improve document click event
2015-01-29 18:01:28 -05:00
Felix Nagel
258a3ff4e5
Datepicker: Simplify usage of calendar options and avoid duplications
2015-01-29 18:01:28 -05:00
Felix Nagel
63bdc3ef81
Datepicker: Remove unwanted keyboard shortcut
...
Remove shortcut for closing the calendar and erasing the date (CTRL+END).
Remove unwanted CTRL+HOME shortcut and support for enter key on input.
2015-01-29 18:01:28 -05:00
Felix Nagel
57736406f1
Datepicker: Code clean up for events
2015-01-29 18:01:22 -05:00
Felix Nagel
6ef023f0e4
Calendar: Remove select callback reference
2015-01-29 17:52:50 -05:00
Felix Nagel
f88a06352a
Calendar: Add min and max option.
...
Improve render day cell mechanism.
2015-01-29 17:52:50 -05:00
Felix Nagel
510ba08cff
Calendar: Add calendar widget
...
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
2015-01-29 17:52:46 -05:00
Felix Nagel
35b52a0dfc
Datepicker: Introduce value option
...
Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
2015-01-29 17:48:26 -05:00
Felix Nagel
ab2cb90240
Datepicker: Properly define default for dateFormat
option
2015-01-29 17:48:25 -05:00
Felix Nagel
f28b70eb7a
Datepicker: Rename select()
method to _select()
...
Make `select()` a private method as it's not part of the specification.
2015-01-29 17:48:25 -05:00
Felix Nagel
cfea8df90a
Datepicker: Fix code style issues
2015-01-29 17:48:19 -05:00
TJ VanToll
fd215f1863
Datepicker: Update the picker as the user types valid dates
2015-01-29 17:47:50 -05:00
TJ VanToll
feedc57486
Datepicker: Handle invalid values in value()
and valueAsDate()
2015-01-29 17:47:50 -05:00
TJ VanToll
b4fe65a134
Datepicker: Add an isValid()
method
2015-01-29 17:47:50 -05:00
TJ VanToll
605387d6fc
Datepicker: Update key handling implementation and tests
2015-01-29 17:47:49 -05:00
Rafael Xavier de Souza
ffc8ab2710
Datepicker: Use Globalize 1.0.0
2015-01-29 17:47:48 -05:00
TJ VanToll
ff4bfd643d
Datepicker: Fix key handling implementation and tests
2015-01-29 17:47:48 -05:00
TJ VanToll
e87a5d8c05
Datepicker: Add value()
and valueAsDate()
methods
2015-01-29 17:47:48 -05:00
TJ VanToll
cc5a4bc5c8
Datepicker: Support destroying inline datepickers
2015-01-29 17:47:48 -05:00
TJ VanToll
ab94999105
Datepicker: Allow dateFormat
to be changed after init
2015-01-29 17:47:48 -05:00
TJ VanToll
13cd6c2fe5
Datepicker: Support changing eachDay
after initialization
2015-01-29 17:47:47 -05:00
TJ VanToll
1a83120fff
Datepicker: Support position
option changes after init
2015-01-29 17:47:47 -05:00
TJ VanToll
5fbe668d86
Datepicker: Various changes for the showWeek
option
...
* Re-add `ui-datepicker-week-col` class name currently used.
* Add test suite.
* Support changing option after initialization.
2015-01-29 17:47:47 -05:00
TJ VanToll
b5893906df
Datepicker: Support changing the appendTo
option after init
2015-01-29 17:47:47 -05:00
TJ VanToll
9bdb4783fd
Datepicker: Only apply the ui-state-focus
class name to one cell
...
This is specifically for multi month pickers. This makes the assumption that
the keyboard is always interacting with the first month in a multi month
calendar. The next step is to store which grid currently has focus and to base
the focus logic off of that.
2015-01-29 17:47:46 -05:00
Jörn Zaefferer
9ec69ccb73
Datepicker: Fix the eachDay
option
...
Use the `eachDay` option in the other-months demo.
Fix handling of `extraClasses` property, split on space.
2015-01-29 17:47:46 -05:00
TJ VanToll
e50d6d3bd2
Datepicker: Update tests and demos for new structure
2015-01-29 17:47:46 -05:00
Scott González
5a7835595e
Datepicker: Remove delayed focus
2015-01-29 17:47:40 -05:00
TJ VanToll
68f8e3c2e3
Datepicker: Initial commit of widget rewrite work from old branch
...
History is on the datepicker-dead branch.
2015-01-29 13:42:45 -05:00
Mike Sherov
9493839f23
Resizable: correct width when grid approaches zero
...
Fixes #10590
2015-01-27 22:08:05 -05:00
Mike Sherov
337e4110b0
Resizable: Whitespace Cleanup
2015-01-27 22:07:32 -05:00
Jasper de Groot
79c4fa1e7a
Theme: Improve default theme styling
...
Changes tooltip to use the ui-widget-shadow class, which now applies the
box-shadow style. .ui-widget-shadow was created when box-shadow wasn't
available. By now, there's no point in faking a custom shadow anymore.
This removes the only non-structural CSS from a widget-specific file.
Updates demos to use the same font-family, removes unused images.
Will be available as the new default theme on ThemeRoller called "Base",
while "UI Smoothness" and "UI Lightness" will still be available in the
gallery.
Fixes #10617
Fixes #10880
Closes gh-1436
Ref jquery/download.jqueryui.com#248
2015-01-27 13:23:53 +01:00
Jörn Zaefferer
0bbd156918
Menu: Use ui-state-active consistently
...
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.
Fixes #10692
2015-01-21 18:07:43 +01:00
Jörn Zaefferer
9d0f44fd7b
All: Drop support for jQuery 1.6.x
...
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.
Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.
Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +01:00
Scott González
65584c1640
Selectmenu: Better handling when there are no options
...
Fixes #10662
Closes gh-1370
Closes gh-1423
2015-01-12 13:00:38 -05:00
Daniel Owens
42099e4461
Tooltip: Accept HTMLElement and jQuery objects for the content option
...
Fixes #9278
Closes #983
Closes #1421
2015-01-12 18:37:57 +01:00
Jyoti Deka
ae1d6d5f90
Slider: Fix max calculation, when step is float
...
Fixes #10721
Closes gh-1398
2015-01-12 12:20:57 -05:00
Adam Foster
faefab842b
Resizable: Match on exact node name
...
Fixes #10748
Closes gh-1417
2015-01-09 16:56:20 -05:00
Adam Foster
c66842b45e
Core: Match on exact node name for :focusable
and :tabbable
...
Fixes #10747
Ref gh-1417
2015-01-09 16:56:20 -05:00
Thomas Meyer
ebaaca7206
Position: Restore old flip collision handling
...
This reverts commit 7f808b2047
.
Fixes #8710
Ref gh-1071
2015-01-09 15:09:57 -05:00
Scott González
ab798cb464
Accordion: Set aria-expanded
when collapsing
...
Fixes #10703
Closes gh-1413
2015-01-05 16:50:27 -05:00
Anne-Gaelle Colom
c89cb74893
Build: Remove dates from copyright notice
...
Closes gh-1403
2015-01-02 09:02:12 -05:00
Giovanni Giacobbi
713688dccd
Widget: Improve readability in $.widget.bridge()
...
Closes gh-1409
2014-12-31 10:50:03 -05:00
Mike Sherov
b6bec797d6
Effects: Rewrite
...
1. Introduces a set of helper methods to easily create and define new effects.
2. Uses clip animations and placeholders instead of wrappers for clip effects.
3. Ensures all animations are detectable as animated
Fixes #10599
Fixes #9477
Fixes #9257
Fixes #9066
Fixes #8867
Fixes #8671
Fixes #8505
Fixes #7885
Fixes #7041
Closes gh-1017
2014-12-10 16:58:38 -05:00
Rafael Xavier de Souza
2a99bb7d37
Build: Fix typo
...
Amend "Build: Remove manifest files; move metadata to source files"
b5f1ffdea4
Ref gh-1379
2014-11-25 16:35:37 -02:00
Scott González
b5f1ffdea4
Build: Remove manifest files; move metadata to source files
...
Closes gh-1379
2014-11-10 13:19:03 -05:00
Mike Sherov
d8077dc562
Draggable: Ensure parent is correct after dragging through sortable
...
Fixes #10669
2014-11-08 20:27:05 -05:00
Mike Sherov
20a6368449
Droppable: Remove $.ui.intersect()
...
Fixes #10534
2014-11-05 18:17:52 -05:00
Scott González
6a242ab4eb
Tabs: Suppress automatic activation when navigating with COMMAND
...
Fixes #9621
Closes gh-1383
2014-11-04 12:07:46 -05:00
Felix Nagel
979373983b
Selectmenu: Copy title attributes
...
Fixes #10435
Closes gh-1298
2014-11-04 08:40:15 -05:00
Scott González
809cc0f8d0
Selectmenu: Properly parse value from options
...
Fixes #10684
2014-11-04 08:37:07 -05:00
TJ VanToll
f656aebe3f
Sortable: Redetermine floating flag when recalculating positions
...
This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.
Fixes #7498
Closes gh-1381
2014-11-04 08:15:26 -05:00
Felix Nagel
fb4124b7af
Selectmenu: Introduce _renderButtonItem() method
...
Fixes #10142
Closes gh-1299
2014-11-04 08:02:48 -05:00
Lisa Seacat DeLuca
2500bb39c2
Theme: Carat should be named caret
...
Fixes #10683
Closes gh-1382
2014-11-03 13:40:58 -05:00
TJ VanToll
e9643f6bfc
Selectmenu: Re-add wrappers to menu items
2014-10-25 10:10:38 -07:00
TJ VanToll
4ac7b1f679
Autocomplete: Re-add wrappers to menu items
2014-10-25 10:10:38 -07:00
TJ VanToll
de2ef2a585
Menu: Wrap menu items in a <div>
...
This avoids styling issues where ui-state-focus rules apply to submenus.
Fixes #10162
Closes gh-1342
2014-10-25 10:10:30 -07:00
Mohammed Alshehri
06231cf762
Datepicker: Fixed month names and firstDay value in Arabic locale
...
Fixes #10035
Closes gh-1246
2014-10-22 17:04:57 -04:00
Scott González
1fb08790a6
Selectmenu: Remove broken tabindex code
2014-10-22 12:27:37 -04:00
Scott González
6d7589351e
All: Drop support for IE7
...
Fixes #9838
Closes gh-1365
2014-10-21 09:06:58 -04:00
Scott González
faf87d9924
Core: Remove .zIndex()
...
Fixes #9156
2014-10-20 19:29:35 -04:00
Scott González
89ed68fb05
Core: Removed .focus( delay )
...
Fixes #9649
2014-10-20 19:26:01 -04:00
Chen Eshchar
e5e3ca4240
DatePicker: datepicker_instActive released on instance destroy
...
Fixes #10668
Closes gh-1362
2014-10-20 09:17:40 -04:00
Scott González
d4a437e4b0
Selectmenu: Preserve text selection and button focus on click
...
Fixes #10639
Closes gh-1358
2014-10-16 08:13:53 -04:00
Scott González
8825d93dc8
Tooltip: Properly track hiding and closing for delegated tooltips
...
Fixes #10602
Closes gh-1353
2014-10-09 10:40:58 -04:00
Jyoti Deka
6833a31697
Slider: Don't allow a slider's value to exceed its max
...
Fixes #9376
Closes gh-1016
2014-10-08 09:04:41 -04:00
Scott González
02c37d3aef
Datepicker: Fix French locale
...
Thanks Jérémy M
Fixes #10651
Closes gh-1357
2014-10-07 10:53:49 -04:00
Trisha Crowley
c48b18b388
Menu: Typeahead now accounts for leading whitespace
...
Fixes #10649
Closes gh-1356
2014-10-07 07:45:01 -04:00
TJ VanToll
29c72fc256
Menu: Remove a redundant check
...
Closes gh-1355
2014-10-03 10:03:12 -04:00
TJ VanToll
6b6b49f678
Menu: Maintain focus on already selected item during typeahead
...
Fixes #10644
Closes gh-1354
2014-10-03 09:30:49 -04:00
Simen Bekkhus
e3e5a9ffa6
Menu: Filter out non-items when typing
...
Fixes #10571
Closes gh-1329
2014-09-29 14:36:46 -04:00
Scott González
b20387ab36
Datepicker: Fix currentText in Greek locale
...
Thanks Nikos Kalogridis
Fixes #10620
Closes gh-1349
2014-09-22 09:44:03 -04:00
Jörn Zaefferer
ddc666ce8b
Menu: Ignore mouseenter events while typeahead is actice
...
Prevents focusing the wrong item when typeahead causes a scroll while the mouse
is over an item in the menu.
Fixes #10458
2014-08-27 13:44:08 -03:00
Alexander Schmitz
1abf9fc71f
Widget: Ensure window and document are defined in _getCreateOptions()
...
Closes gh-1320
2014-08-27 09:08:01 -04:00
Mike Sherov
52a1de5caa
Sortable: cancelHelperRemoval only considers helper, not placeholder
...
Refs #9675
2014-08-26 09:52:00 -04:00
Mike Sherov
aada9d5ae7
Draggable: Whitespace and naming cleanup of connectToSortable
2014-08-26 09:52:00 -04:00
Mike Sherov
a611dd8971
Draggable: Refresh sortables when draggable is added or removed
...
Since a sortable grows or shrinks when a draggable element is added
to it, refresh the cached positions of sortables whenever an element
is added or removed from the sortable.
Refs #9675
2014-08-25 18:23:11 -04:00
Mike Sherov
368fc8395b
Draggable: Clarify comments and whitespace in connectToSortable
2014-08-25 18:23:11 -04:00
Mike Sherov
e8c99b9abf
Draggable: Ensure sortable revert still works after draggable is removed
...
Fixes #9481
2014-08-25 08:26:57 -04:00
Mike Sherov
27ed20715f
Draggable: Ensure css is always restored after connectToSortable drag
...
Fixes #9675
2014-08-25 08:24:56 -04:00
Mike Sherov
1cc380778b
Draggable: Ensure correct widget removes helper in connectToSortable
2014-08-24 21:30:49 -04:00
Mike Sherov
c7bec85cfa
Draggable: append divs to iframe parent for iframefix
...
This allows the blocking div to move with the iframe in
most situations, whereas appending to the body wouldn't.
Fixes #9671
2014-08-24 07:19:38 -04:00
Mike Sherov
df7e32fe37
Draggable: Check all parents for fixed positioning when scrolling
...
Fixes #9612
2014-08-23 15:34:04 -04:00
Mike Sherov
95546c5d04
Draggable: No cloning in connectToSortable and ensure correct position
...
Draggables now forcefully recalculate their position when dragged out
of a sortable. Sortables now override draggable position when a
draggable is dragged into it. Lastly, no longer remove sortable helper
when dragging a draggable out, which allows us to not use a clone.
Fixes #7734
Fixes #8809
Closes gh-1322
2014-08-23 15:08:54 -04:00
Mike Sherov
a62612ce42
Draggable: Clean spacing and names in connectToSortable drag callback
2014-08-22 17:31:29 -04:00
Scott González
849c6fd537
Accordion: Avoid memory leak during refresh
...
Ref #10056
Closes gh-1319
2014-08-21 09:06:56 -04:00
Scott González
2e8e52dec1
Tabs: Avoid memory leak during refresh
...
Fixes #10056
Ref gh-1319
2014-08-21 09:06:49 -04:00
Scott González
b397294d42
Widget: Avoid memory leaks when unbinding events with ._off()
...
Ref #10056
Ref gh-1319
2014-08-21 09:06:41 -04:00
Mike Sherov
e12e3e12b1
Mouse: Only detect out of document mouseups after a mousemove
...
This prevents the firing of mouseup in the case of IE<9, which will
fire a mousemove event if content is placed under the cursor on
mousedown.
Fixes #7778
2014-08-20 11:19:36 -04:00
Scott González
233f08e07f
Datepicker: Fix month names in Persian locale
...
Fixes #10562
Closes gh-1221
2014-08-20 10:11:06 -04:00
Mike Sherov
451dded230
Draggable: Ensure helper is positioned even if its the element itself
...
Fixes #9446
2014-08-19 15:15:21 -04:00
Uri Gilad
8eca7b8f45
Draggable: Set explicit width/height instead of right/bottom css.
...
Fixes #7772
2014-08-18 15:30:54 -04:00
Mike Sherov
48ea2aadad
Draggable: Ensure overflow:visible containments are correctly measured
...
Fixes #7016
2014-08-17 14:38:05 -04:00
Mike Sherov
d10440fe44
Draggable: Only focus the draggable if the event occurs on a handle
...
Refs #10527
2014-08-17 14:13:20 -04:00
TJ VanToll
075421d6d9
Draggable: Only blur the focused element if the event occurs on a handle
...
Fixes #10527
2014-08-17 14:13:20 -04:00
Mike Sherov
b5846bece3
Draggable: Recalculate hash offset on start after plugins run
...
Fixes #6884
2014-08-16 21:27:16 -04:00
Mike Sherov
cdcb391f4e
Draggable: Fix whitespace in trigger function
2014-08-16 21:22:58 -04:00
Mike Sherov
2d03839c07
Draggable: Account for margins when snapping
...
Fixes #9724
2014-08-14 09:50:02 -04:00
Jörn Zaefferer
54004c85d0
Build: Update jscs and fix some code style issues
...
Disables the checks for casing and line length, since those need a lot
more effort to address. For variable naming the fix isn't obvious to me.
There's way too many lines over 100 chars.
2014-08-14 14:12:12 +02:00
Andrei Picus
1cfebf803b
Sortable: fire "over" and "out" even when a connectWith hasn't changed
...
Fixes #9335
2014-08-13 20:27:26 -04:00
Mike Sherov
4dad6bb99d
Droppable: Account for draggable margins when detecting hover
...
Fixes #6876
2014-08-13 19:36:07 -04:00
Mike Sherov
bbf9ea0942
Draggable: ignore overflow:hidden containers with scroll option
...
While it is true that overflow:hidden elements can be scrolled
programatically, this breaks user expectation. Therefore, do not
scroll inside an overflow:hidden container.
2014-08-12 19:30:09 -04:00
Mike Sherov
be4c0fc324
Draggable: clean up whitespace in scroll option
2014-08-12 19:30:09 -04:00
Mike Sherov
e9efbc2221
Draggable: consider offsets from overflow:hidden parents
...
Developers can programmatically set scrollTop/Left on
draggable containers that are overflow:hidden. They must
be considered for positioning.
Fixes #10147
2014-08-12 19:30:09 -04:00
Mike Sherov
67e4b44b29
Core: provide "includeHidden" parameter in $.ui.scrollParent
...
Even though the user is unable to scroll via the UI, authors
may have custom scrollbars that programmatically set scrollTop.
Therefore, overflow:hidden can be considered a scrollParent.
2014-08-12 19:30:09 -04:00
Mike Sherov
0ad31ca469
Resizable: fix JSCS violations
2014-08-11 09:51:45 -04:00
Will Holley
87081b855c
Droppable: only consider pointer location with tolerance "pointer"
...
Fixes #4977
Closes gh-991
2014-08-10 21:00:33 -04:00
TJ VanToll
36e4bfd516
Autocomplete: Use $.trim
instead of jQuery.trim
for consistency
...
Fixes #10525
2014-08-08 08:47:25 -04:00
Mike Sherov
05ab5d7818
Draggable: Fix several whitespace issues
2014-08-06 17:51:43 -04:00
Scott González
32bef7ad4e
Tooltip: Treat the tooltip as closing until it's fully removed
...
This ensures that we don't trigger the close event twice if the tooltip is
destroyed during the hide animation.
Closes gh-1306
2014-08-06 15:01:58 -04:00
Mike Sherov
7c8790dcc8
Resizable: account for padding & border in grids.
...
Fixes #10437
2014-08-05 14:16:11 -04:00
Jyoti Deka
750a8fd0c2
Resizable: Fix containment width with relative parent.
...
Refs #10140
Closes gh-1303
2014-08-04 10:04:50 -04:00
Mike Sherov
2779212a0e
Resizable: Fix containment calculation with relative parent
...
Remove an incorrect fix introduced in 47cd5b6f
that causes
width calculations to be incorrect once the correct fix
was introduced in c03cb807
Fixes #10140
2014-08-04 08:18:35 -04:00
Scott González
d6d15b4558
Core: Fix focusable detection for image maps
...
The attribute selector requires quotes to be valid, but only new (unreleased)
Sizzle has this requirement.
2014-07-30 10:03:53 -04:00
Scott González
749a6a5667
Selectmenu: Preserve text selection when interacting with the widget
...
Fixes #10144
Closes gh-1295
2014-07-29 13:19:28 -04:00
Scott González
45e13ed208
Selectmenu: Properly set width for button
...
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -04:00
Yermo Lamers
930bc7df66
Autocomplete: ESCAPE should not change content of a MultiLine
...
Fixes #9790
Closes gh-1190
2014-07-24 17:00:55 -04:00
Scott González
5beae72e77
Resizable: Fix size/position changes in resize event
...
Fixes #10351
Closes gh-1292
2014-07-24 16:21:51 -04:00
Scott González
9bb51d308e
Position: Support positioning within document with jQuery 1.6.x
...
Fixes #10071
Closes gh-1294
2014-07-24 16:05:18 -04:00
Frederik Elvhage
f7429edfe9
Widget: Improve performance of cleanData method
...
Fixes #9546
Closes gh-1291
2014-07-24 12:07:12 -04:00
TJ VanToll
c399f1f77a
Datepicker: Abstract mouseover logic to avoid explicit event trigger
...
The reliance on `.mouseover()` caused an issue in some circumstances
(see #5816 ). The removal of `.mouseover()` broke keyboard navigation
(see #10319 ).
Fixes #10319
Closes gh-1290
2014-07-23 15:10:37 -04:00
Scott González
69f25dbff7
Dialog: Track the instance as soon as the dialog is opened
...
Fixes #10152
2014-07-23 11:10:14 -04:00
Scott González
acfda4be52
Dialog: Fix stacking of modal dialog overlays
...
Fixes #10138
Closes gh-1286
2014-07-17 11:30:31 -04:00
Jyoti Deka
ffe60e39db
Resizable: Remove accidental exposure of internal data in events
...
Fixes #10148
Closes gh-1279
2014-07-16 19:14:16 -04:00
Monika Piotrowicz
b4fb51199d
Tabs: Work around bad Safari/VoiceOver heuristics
...
Move disabled tab click handlers from the container to the tablist to
prevent panel contents from being announced as clickable.
Fixes #10098
Closes gh-1261
2014-07-16 16:09:22 -04:00
TJ VanToll
3ca32b2ad8
Draggable: Manage ui-draggable-handle correctly in nested instances
2014-07-15 15:49:15 -04:00
TJ VanToll
7594a31425
Draggable: Only apply ui-draggable-handle within the draggable instance
...
Fixes #10212
Closes gh-1284
2014-07-15 15:49:00 -04:00
Scott González
2447cabd59
Effect: Create a local jQuery variable to make jQuery Color work
...
Fixes #10199
Closes gh-1282
2014-07-15 09:30:21 -04:00
Rodrigo Menezes
5730374238
Datepicker: reject dates with two year digits when expecting 'yy'
...
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -04:00
Scott González
15baf024c3
Slider: Reset positioning when orientation changes
...
Fixes #10105
Closes gh-1268
2014-07-02 17:17:05 -04:00
Scott González
450d75f912
Datepicker: Define en and en-US locales based on defaults
...
Fixes #6682
Closes gh-1269
2014-06-16 16:42:43 +02:00
Jörn Zaefferer
226cc3e9e5
Dialog: Honor preventDefault when managing focus
...
If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.
Fixes #10103
Closes gh-1265
2014-06-10 13:59:45 +02:00
Jörn Zaefferer
a0b84767a7
Dialog: Fix shift-tab handling, focus the correct element
...
Copy-paste error introduced in df6110c0d4
Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.
Ref #9646
Ref #10103
Closes gh-1264
2014-06-10 13:54:58 +02:00
Timo Tijhof
6c4005280d
Dialog: Fix off() -> unbind() for jQuery 1.6 compat
...
Follows-up c9815f13b4
.
Fixes #10072
Closes gh-1256
2014-05-27 16:05:04 -04:00
David Petersen
796a8b37e2
Spinner: Don't change value when changing min/max options
...
Fixes #9703
Closes gh-1252
2014-05-26 11:31:31 -05:00
David Petersen
f5e8041ebf
Tabs: Move aria-expanded
from active panel to active tab
...
Fixes #9622
Closes gh-1251
2014-05-19 11:36:21 -04:00
Scott González
54323e08e3
Widget: Remove misleading comment
2014-05-14 12:39:45 -04:00
TJ VanToll
48001a8c46
Autocomplete: Search if the user retypes the same value
...
Fixes #7434
Closes gh-1238
2014-05-12 13:37:13 -04:00
Scott González
8029a9763c
All: Fix typos
...
Closes gh-1237
2014-05-07 12:28:34 -04:00
Jörn Zaefferer
b22280385c
Menu: Use item.outerHeight() in _scrollIntoView
...
Fixes #9991
2014-05-06 15:06:56 +02:00
Rafael Xavier de Souza
f0b4967388
Datepicker: Remove unnecessary mouseover trigger
...
Fixes #5816
Closes gh-974
2014-05-02 17:29:20 +02:00
Scott González
fd7e1e3040
Selectmenu: Default disabled option to null
2014-04-21 10:32:49 -04:00
Daniel DeGroff
23d7d50f37
Button: Remove ui-state-active
when disabling buttons
...
Fixes #9602
Closes gh-1151
2014-04-21 09:14:54 -04:00
Scott González
62812d9c67
Selectmenu: Simplify selection of focused item via keyboard
...
Don't go through menu to select the currently focused item.
Renamed _selectMenu() to _selectFocusedItem() for clarity.
Closes gh-1224
2014-04-18 12:37:06 -04:00
Scott González
1272fca9ef
Selectmenu: Don't use active items at all
...
Menus only use active items for nested menus which selectmenu doesn't support.
Selectmenu should only be working with focused items.
Ref gh-1224
2014-04-18 12:37:06 -04:00
Scott González
1849655980
Selectmenu: Cleanup
...
Ref gh-1224
2014-04-18 12:36:45 -04:00
Jörn Zaefferer
3576ceb360
Resizable: Remove bad workaround for draggable+resizable
...
This adds a compound test page for draggable+resizable, which had no coverage
before. Using that page shows that there is no way to reproduce the behaviour
described in the original ticket that caused this workaround, since its not
possible to resize an element beyond the window boundaries. Therefore removing
the workaround, which is 6+ years old and has no test coverage, seems like the
sanest approach.
Fixes #6939
Closes gh-1210
2014-04-16 18:47:15 +02:00
Scott González
baf6bc5c27
Position: Don't create $.support.offsetFractions
2014-04-03 10:54:52 -04:00
Scott González
d24cd35f0c
Core: Don't create $.support.selectstart
2014-04-03 10:52:30 -04:00
Scott González
0059722b6b
Button: Properly refresh button sets with new radio buttons
...
Fixes #8975
Ref gh-888
2014-04-01 14:42:38 -04:00
Scott González
f3ffc8c9a9
Datepicker: Fix date format for Ukranian locale
...
Fixes #9939
2014-03-31 15:29:56 -04:00
TJ VanToll
dfc5c34320
Slider: Switch handles from <a href="#"> to <span tabindex="0">
...
Fixes #9890
Closes gh-1207
2014-03-07 09:31:42 -05:00
TJ VanToll
fe420c0eac
Selectmenu: Add UMD wrapper
2014-02-21 14:56:13 -05:00
Jörn Zaefferer
df6110c0d4
Core: Deprecate .focus( n ), replace in dialog with explicit timeouts
...
Fixes #9646
2014-02-21 19:57:34 +01:00
Jörn Zaefferer
fa99e23d18
Selectmenu: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9757
2014-02-21 13:35:34 +01:00
Rafael Xavier de Souza
347c7c4db1
I18n: Avoid indenting an entire file
...
Make code identation consistent with every other source.
2014-02-19 12:14:08 -03:00
Rafael Xavier de Souza
086dad66c4
I18n: Rename all files, removing the "jquery.ui." prefix
...
Amend fix for 21154cfa2e02ef1814a6aff68b14553bdad165cb;
Ref #9464
Ref gh-1029
2014-02-19 12:11:46 -03:00
Mike Sherov
7017805745
Draggable: fix current JSCS violations.
2014-02-18 12:48:06 -05:00
TJ VanToll
83b3d67175
All: Updating copyright year to 2014
2014-01-28 22:25:02 -05:00
Yermo
605a20ef06
Autocomplete: Do not set value on multi-line input
...
This fixes an issue where contenteditable text was getting overwritten when
wrapping past the bottom or top of the autocomplete menu.
Fixes #9771
Closes gh-1184
2014-01-28 12:35:16 -05:00
TJ VanToll
ccb13240dd
Button: Ignore non-radio elements with the same name
...
Fixes #8761
Closes gh-1185
2014-01-28 10:58:30 -05:00
Rafael Xavier de Souza
21154cfa2e
All: Rename all files, removing the "jquery.ui." prefix;
...
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271 ;
Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Rafael Xavier de Souza
234f7f3c0e
All: Remove "Depends" comment
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:42 -02:00
Rafael Xavier de Souza
1216e2aaf5
All: Wrap I18n files with UMD return exports
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:31 -02:00
Rafael Xavier de Souza
96e027e4b1
All: Wrap source files with UMD return exports
...
Ref #9464
Ref gh-1029
2014-01-24 18:22:14 -02:00
Scott González
113e9d0c2c
Autocomplete: Normalize falsy values, not just missing values
...
Fixes #9762
2014-01-22 10:40:19 -05:00
Scott González
2ef1b16e4d
Autocomplete: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9755
2014-01-20 16:20:11 -05:00
Ben Higgins
0bb807bb42
Draggable: fix changing containment
...
If containment was set such that relative_container is set by
_setContainment, and then containment changes to e.g. "document",
"window", or an array, relative_container would not be unset, causing
incorrect containment of the draggable.
Add a unittest to check that containment with an array works after
previously being set to "parent".
Fixes #9733
Closes gh-1176
2014-01-20 13:08:12 -05:00
Ruslan Yakhyaev
be2a339b2b
Widget: Support events with dashes and colons
...
Fixes #9708
Closes gh-1159
2014-01-16 12:12:04 -05:00
TJ VanToll
28310ff55f
Slider & Interactions: Add Windows 8 touch support
...
Fixes #9709
Fixes #9710
Closes gh-1152
2014-01-15 15:38:10 -05:00
Thomas Meyer
1bbbcc723c
Position: Avoid reading overflow css on documents
...
Fixes #9533
Closes gh-1072
2014-01-15 05:17:50 -05:00
Kris Borchers
20c1648f68
Resizable: Only resize/reposition if size is greater than specified grid
...
Fixes #9611
Closes gh-1132
2014-01-15 04:37:32 -05:00
Andrei Picus
23c7d367b1
Sortable: Cleanup
...
Closes gh-1168
Closes gh-1169
2014-01-15 04:10:10 -05:00
Dylan Barrell
0b28d597fe
Autocomplete: Announce autocomplete correctly in all ATs.
...
Fixes #9631
Closes gh-1153
2014-01-14 11:09:49 +01:00
Scott González
6ec452cc63
Datepicker: Fix Spanish locale data
...
Fixes #9735
Closes gh-1166
2014-01-10 10:51:57 -05:00
Michael Wiencek
0dc84db853
Tooltip: Preserve the title after disabling twice
...
Fixes #9719
Closes gh-1154
2014-01-09 20:38:08 +01:00
Jyoti Deka
9413043a9e
Resizable: whitespace fixed
...
Closes gh-1162
2014-01-09 19:41:25 +01:00
Scott González
a8ff77360b
Tooltip: Only bind remove handler for delegated tooltips
...
The remove handler was being added for every tooltip, but only removed for
delegated tooltips. The default destroy behavior already handles non-delegated
tooltips, so the handler should only be added for delegated tooltips.
Fixes #9531
Closes gh-1156
2014-01-09 04:12:35 -05:00
Jörn Zaefferer
247257ebc9
Menu: Fix var declaration and move regex comment to the right place.
...
Follow-up to a6806ab1
2014-01-08 18:15:04 +01:00
Daniel DeGroff
af85dfcafb
Tooltip: On close and destroy only set title if empty or undefined
...
Ticket #8925 states that changes to the title attribute while the
tooltip is open are lost on tooltip close.
In the close and destroy functions, the title attribute is always
written if a value was stored in the element on open. It is possible
the attribute has changed and restoring the initial value may overwrite
the current value.
If the value is empty or undefined as set in open, do not set the title
attribute.
This fix has the limitation that if the user removed the title
attribute or set the value to an empty string the original title value
would be restored on close and destroy.
Fixes #8925
2014-01-06 16:10:02 +01:00
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