Commit Graph

3536 Commits

Author SHA1 Message Date
Marco Ziech
88291ffc4d Tooltip: Register event handlers before content is loaded
Fixes #8740
Closes gh-1053
Closes gh-1456
(cherry picked from commit c4e367bb31)
2015-03-10 12:39:33 -04:00
Scott González
1c92d68c04 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
(cherry picked from commit c1dfb98d45)
2015-03-10 12:37:14 -04:00
Nils Heuermann
ddc1b32a45 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
(cherry picked from commit 962e05dc1d)
2015-03-10 12:26:15 -04:00
Scott González
d6997254f0 Dialog: Fix typo
Closes gh-1447

Thanks Spencer Davis
(cherry picked from commit d95c23ae6c)
2015-03-10 12:25:59 -04:00
Ablay Keldibek
0f99e9c969 Slider: Modified to allow value to reach max value with float step
Fixes #11286
Closes gh-1465
(cherry picked from commit 60c00cd4ec)
2015-03-10 12:25:12 -04:00
Ben Mosher
31e7099709 Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666
Closes gh-1324
Closes gh-1461
(cherry picked from commit 19783fd3e6)
2015-03-10 12:25:00 -04:00
Patricia Juarez
65f31c2ead 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
(cherry picked from commit 18e301f4e2)
2015-03-10 12:23:56 -04:00
Scott González
de75b40835 Accordion: Handle box-sizing: border-box in animations
Fixes #9264
Closes gh-1287
Closes gh-1459
(cherry picked from commit 4b017b414f)
2015-03-10 12:20:51 -04:00
TJ VanToll
04ab6e0388 Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125
Closes gh-1448
(cherry picked from commit ec1f393c39)
2015-03-10 12:00:06 -04:00
Mike Sherov
b3710631e8 Draggable: Ensure parent is correct after dragging through sortable
Fixes #10669
(cherry picked from commit d8077dc562)
2015-03-10 11:59:22 -04:00
TJ VanToll
189f1d476c 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
(cherry picked from commit f656aebe3f)
2015-03-10 11:59:14 -04:00
Marcus Warren
fa460f36dc Sortable: Add support for iframes
Fixes #9604
Closes gh-1443
(cherry picked from commit 17c7f698a2)
2015-02-09 12:06:37 -05:00
Mike Sherov
0a0db09378 Resizable: correct width when grid approaches zero
Fixes #10590
(cherry picked from commit 9493839f23)
2015-02-09 12:06:02 -05:00
Mike Sherov
105f4a5cb0 Resizable: Whitespace Cleanup
(cherry picked from commit 337e4110b0)
2015-02-09 12:05:56 -05:00
Jyoti Deka
dfa3a9f8c9 Slider: Fix max calculation, when step is float
Fixes #10721
Closes gh-1398
(cherry picked from commit ae1d6d5f90)
2015-02-09 11:59:38 -05:00
Adam Foster
7ff9b28de3 Resizable: Match on exact node name
Fixes #10748
Closes gh-1417
(cherry picked from commit faefab842b)
2015-02-09 11:58:13 -05:00
Adam Foster
f1345e3900 Core: Match on exact node name for :focusable and :tabbable
Fixes #10747
Ref gh-1417
(cherry picked from commit c66842b45e)
2015-02-09 11:58:03 -05:00
Thomas Meyer
276cd5cd8c Position: Restore old flip collision handling
This reverts commit 7f808b2047.

Fixes #8710
Ref gh-1071
(cherry picked from commit ebaaca7206)
2015-02-09 11:56:59 -05:00
Scott González
dc2b17d62f Accordion: Set aria-expanded when collapsing
Fixes #10703
Closes gh-1413
(cherry picked from commit ab798cb464)
2015-02-09 11:56:15 -05:00
Anne-Gaelle Colom
727a9151d2 Build: Remove dates from copyright notice
Closes gh-1403
(cherry picked from commit c89cb74893)
2015-02-09 11:54:31 -05:00
Giovanni Giacobbi
69bd7a7a75 Widget: Improve readability in $.widget.bridge()
Closes gh-1409
(cherry picked from commit 713688dccd)
2015-02-09 11:51:52 -05:00
Scott González
9dd1e733f3 Tabs: Suppress automatic activation when navigating with COMMAND
Fixes #9621
Closes gh-1383
(cherry picked from commit 6a242ab4eb)
2015-02-09 11:50:05 -05:00
Scott González
dc2c948dd6 Selectmenu: Properly parse value from options
Fixes #10684
(cherry picked from commit 809cc0f8d0)

Conflicts:

	ui/selectmenu.js
2015-02-09 11:45:11 -05:00
Mohammed Alshehri
9afe0f7b8a Datepicker: Fixed month names and firstDay value in Arabic locale
Fixes #10035
Closes gh-1246
(cherry picked from commit 06231cf762)
2015-02-05 09:01:04 -05:00
Scott González
c3dcf4eacc Selectmenu: Remove broken tabindex code
(cherry picked from commit 1fb08790a6)
2015-02-05 09:00:46 -05:00
Chen Eshchar
47ceff8dbd DatePicker: datepicker_instActive released on instance destroy
Fixes #10668
Closes gh-1362
(cherry picked from commit e5e3ca4240)
2015-02-05 08:54:39 -05: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