Commit Graph

30 Commits

Author SHA1 Message Date
Scott González
f0c3cf6f1a Draggable: Don't run stop methods for elements that have been removed. Fixed #8269 - Removing draggable element on drop : a(this).data("draggable") is undefined.
(cherry picked from commit 27d1023553)

Conflicts:

	ui/jquery.ui.draggable.js
2012-04-30 12:41:20 -04:00
Jörn Zaefferer
dc67d2c5d2 Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
(cherry picked from commit 37dcc3e21d, dropped menu, spinner and tooltip)
2012-04-02 18:14:51 +02:00
Scott González
5e3ad8f160 Updated copyright year. 2012-03-19 09:25:07 -04:00
Scott González
930c65011c Draggable: Only run iframeFix logic if the option is truthy. Fixes #7632 - Draggable: iframeFix always runs with old versions of jQuery. 2011-08-12 10:05:04 -04:00
kborchers
ce2fbb9429 Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
(cherry picked from commit 67bd872fe1)
2011-05-27 15:36:37 -04:00
kborchers
1866905695 Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
(cherry picked from commit 6e6d0b749c)
2011-05-13 15:35:53 -04:00
kborchers
16b4ffb791 Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
(cherry picked from commit d136e4333e)
2011-05-13 15:18:25 -04:00
Kato Kazuyoshi
201b5ed48c Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids.
(cherry picked from commit 98fcb477d6)
2011-05-11 13:07:50 -04:00
Mark Johnson
15b9e9d176 Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270.
(cherry picked from commit b1c8a13a16)
2011-05-02 17:49:38 -04:00
Edward Faulkner
a6d8fd1480 Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div
(cherry picked from commit d620749611)
2011-05-02 17:44:41 -04:00
Matt Hoskins
6fcdff13fa Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed: #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache.(cherry picked from commit 84257e7f0a) 2011-03-14 10:51:24 -04:00
Guillaume Gautreau
a067dfa8a2 Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin
(cherry picked from commit 3a0ec399cd)
2011-03-08 09:33:23 -05:00
Christoph Burgdorf
0ed452bf25 Draggable: Incase helper is not set to 'original' succeed with revert action even if the original element has been removed. Fixes #6871 2011-01-18 23:10:43 +01:00
Scott González
83fca58d1c Updated copyright year. 2011-01-17 09:36:00 -05:00
Jean-Francois Remy
e01664a382 Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with containment on position:fixed elements. 2010-12-01 15:31:59 -05:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Richard D. Worth
670ab819a9 Revert "Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera"
This reverts commit dc94bbf536.
2010-04-23 16:13:06 -04:00
Richard D. Worth
dc94bbf536 Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera 2010-04-22 09:56:35 -04:00
Scott González
74120e0df1 Draggable: Don't try to stack if there are no elements in the stacking group.
Fixes #5191 - Draggable: stack option can throw error.
2010-02-18 04:46:59 +00:00
Scott González
f88677bfd6 Draggable: Don't recalculate the relative offset during drag. I couldn't reproduce the issues described in the comments for this code.
Fixes #4824 - draggable broken on inline elements in webkit browsers
2010-02-14 05:09:29 +00:00
Scott González
9e02f80176 Fixed event prefix in all plugins that don't use the default prefix.
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00
Scott González
ee2c8c0439 Draggable: Don't adjust offsets for fixed position elements in Safari 4.
Fixes #4631 - Draggable: Fixed positions include wrong scroll offset in Safari 4.
2010-02-04 21:52:20 +00:00
Paul Bakaus
9617d15054 draggable: implemented #4145 - start,drag and stop events should be preventable 2010-01-28 16:35:59 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00