Commit Graph

3706 Commits

Author SHA1 Message Date
Jörn Zaefferer
c770605db0 Menu: Ignore bubbled mouseenter events on parent items
Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.

Fixes #11641
Closes gh-1535
2015-04-08 16:34:26 +02:00
Ablay Keldibek
bf03479cc1 Slider: Proper animation of range
Fixes #9459
Closes gh-1530
2015-04-06 16:59:45 -04:00
Scott González
0de27b0609 Core: Work around more IE activeElement bugs
Closes gh-1523
2015-03-29 09:51:23 -04:00
Scott González
c42a07a2e3 All: Standard spacing inside selector strings
Closes gh-1521
2015-03-26 07:47:17 -04:00
Scott González
dc6703756d All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739
Ref gh-1517
2015-03-26 07:35:20 -04:00
Scott González
8cf98798a5 Tooltip: Follow the standard appendTo logic
Even though there's no reason to ever configure the parent element via an
`appendTo` option, following the standard logic is useful for scrollable
elements and native dialogs.

Fixes #10739
Closes gh-1517
2015-03-26 07:35:20 -04:00
Scott González
e109e76819 Spinner: Properly handle empty attributes in create with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:19 -04:00
Scott González
fdbb85be39 Dialog: Properly handle empty title with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:16 -04:00
Scott González
12643739a9 Core: Fix :focusable and :tabbable with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`

Ref gh-1516
2015-03-25 15:55:03 -04:00
Scott González
76c27556f4 Core: Handle IE11 bug with document.activeElement in iframes
Fixes #11539
Closes gh-1518
2015-03-24 18:28:12 -04:00
Jörn Zaefferer
1696405c09 Menu: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:36:07 +01:00
Jörn Zaefferer
d024d4d119 Autocomplete: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:34:28 +01:00
Scott González
3970e8c681 Position: Simplify fraction support test
Also makes the test lazy to avoid any potential layouts/recalculations during
initialization.

Fixes #9898
Ref #9899
2015-03-18 10:55:53 -04:00
Ablay Keldibek
dff1c74dd4 Slider: Fix handle order when setting values of range slider to max
When both values are set to the maximum change them in descending order

Fixes #9046
Closes gh-1502
2015-03-18 10:49:01 -04:00
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Scott González
c16a5e58f9 All: Consolidate .removeAttr() calls
Closes gh-1505
2015-03-18 10:39:25 -04:00
Jörn Zaefferer
92a9d8de14 Tabs: Fix style issues
Closes gh-1494
2015-03-18 14:49:37 +01:00
Jörn Zaefferer
a10847a9db Menu: Fix style issues
Closes gh-1491
2015-03-18 14:43:31 +01:00
Jörn Zaefferer
fac517ebb9 Autocomplete: Fix style issues
Closes gh-1504
2015-03-18 12:44:54 +01:00
Jörn Zaefferer
c4bcd243da Spinner: Fix style issues
Closes gh-1501
2015-03-18 12:38:58 +01:00
Jörn Zaefferer
bf6bbcdced Widget: Fix style issues
Closes gh-1500
2015-03-18 12:38:02 +01:00
Jörn Zaefferer
6b34ae952b Position: Fix style issues
Closes gh-1499
2015-03-18 12:34:46 +01:00
Jörn Zaefferer
62e0092156 Selectmenu: Fix style issues
Closes gh-1498
2015-03-18 12:33:49 +01:00
Jörn Zaefferer
aa61e001f3 Dialog: Fix style issues
Closes gh-1497
2015-03-18 12:25:28 +01:00
Jörn Zaefferer
ffd2fbf28b Core: Fix style issues
Closes gh-1496
2015-03-18 12:24:17 +01:00
Jörn Zaefferer
1e266bb636 Accordion: Fix style issues
Closes gh-1495
2015-03-18 12:23:14 +01:00
Jörn Zaefferer
b99f5b305f Progressbar: Fix style issues
Closes gh-1493
2015-03-18 12:11:44 +01:00
Jörn Zaefferer
adcc9680ec Tooltip: Fix style issues
Closes gh-1492
2015-03-18 12:10:43 +01:00
Jörn Zaefferer
4212d072a1 Autocomplete: Simplify _create() method
Uses logical expressions in place of conditional expressions.

Closes #1490
2015-03-17 16:05:31 +01:00
Scott González
581bfb55bf Autocomplete: Restore focus after clicking a menu item, if necessary
Fixes #9201
Closes gh-1470
2015-03-12 11:28:09 -04:00
Scott González
f33027840c Core: Add methods to work around IE active element bugs
Closes gh-1478
2015-03-12 07:35:27 -04:00
Ablay Keldibek
6111b17710 Slider: Pass handle index to events
Added a `handleIndex` property to the event data which indicates the index of
the handle being changed.

Fixes #7630
Closes gh-1486
2015-03-12 07:29:50 -04:00
Alexander Schmitz
9d71547394 Tooltip: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:33 -04:00
Alexander Schmitz
aaddfbfa8b Tabs: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:28 -04:00
Alexander Schmitz
28dccda377 Spinner: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:23 -04:00
Alexander Schmitz
90c27b4b51 Sortable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:18 -04:00
Alexander Schmitz
491bb9c7f4 Slider: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:12 -04:00
Alexander Schmitz
3483486a15 Selectmenu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:07 -04:00
Alexander Schmitz
2a7873dd57 Selectable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:01 -04:00
Alexander Schmitz
2665aa0146 Resizable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:56 -04:00
Alexander Schmitz
ea35ded6ed Progressbar: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:48 -04:00
Alexander Schmitz
2ebef69efe Menu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:42 -04:00
Alexander Schmitz
f58277a521 Droppable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:34 -04:00
Alexander Schmitz
e9bb449b5d Draggable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:30 -04:00
Alexander Schmitz
6f4884f6f5 Dialog: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:11 -04:00
Alexander Schmitz
cff1fb2a13 Autocomplete: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:02:12 -04:00
Alexander Schmitz
7c6a7d71e9 Accordion: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:01:44 -04:00
Alexander Schmitz
c192d4086d Widget: Add classes option and _add/_remove/_toggleClass methods
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Scott González
1f9821c000 Dialog: Remove animation stopping in destroy
Effects wrappers are no longer used, so the workaround and test are no
longer necessary.

This fixes tests in IE8 with jQuery 1.7.

Effectively a complete revert of 13505e5945

Closes gh-1481
2015-03-11 08:42:12 -04:00
Ablay Keldibek
60c00cd4ec Slider: Modified to allow value to reach max value with float step
Fixes #11286
Closes gh-1465
2015-03-05 13:16:54 -05:00
Scott González
af4c35df9d Selectmenu: Support width: false and default to 14em
`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.

Fixes #11198
Closes gh-1467
2015-03-05 11:42:49 -05:00
Ben Mosher
19783fd3e6 Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666
Closes gh-1324
Closes gh-1461
2015-03-04 08:51:06 -05:00
Patricia Juarez
18e301f4e2 Resizable: Modified to allow jquery objects as handles
Custom handlers did not work as jquery objects (outside the resizable element)

Fixes #9658
Closes gh-1445
2015-03-03 08:52:21 -05:00
Scott González
4b017b414f Accordion: Handle box-sizing: border-box in animations
Fixes #9264
Closes gh-1287
Closes gh-1459
2015-03-03 08:28:52 -05:00
Scott González
c077e0a347 Core: Drop feature detection for version check to support jQuery 1.7
Fixes #11197
Closes gh-1458
2015-02-27 09:08:56 -05:00
Rafael Xavier de Souza
45744efd26 All: Add css-dependency-comments based on jQuery Mobile
Ref gh-1029
Ref jquery/download.jqueryui.com#178
Closes gh-1440
2015-02-26 09:23:33 -05:00
Marco Ziech
c4e367bb31 Tooltip: Register event handlers before content is loaded
Fixes #8740
Closes gh-1053
Closes gh-1456
2015-02-25 15:35:49 -05:00
Scott González
c1dfb98d45 Tabs: Use standard promise methods for jqXHR
The old success(), error() and complete() methods have been deprecated for a
while and have been removed in upstream master.

Closes gh-1455
2015-02-24 10:24:58 -05:00
Nils Heuermann
962e05dc1d Sortable: Append a tr with td to the placeholder of tbody elements
When sorting tbody elements of a table the placeholder needs to have a tr with
td elements to be visible. The appended elements are created in the same way
as for the placeholder of a tr element; the first row of the sorted tbody is
used for that.

Fixes #10682
Closes gh-1380
2015-02-24 09:36:12 -05:00
Scott González
d95c23ae6c Dialog: Fix typo
Closes gh-1447

Thanks Spencer Davis
2015-02-23 16:33:18 -05:00
TJ VanToll
ec1f393c39 Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125
Closes gh-1448
2015-02-20 09:48:42 -05:00
Marcus Warren
17c7f698a2 Sortable: Add support for iframes
Fixes #9604
Closes gh-1443
2015-02-03 13:09:32 -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