aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.draggable.js
Commit message (Collapse)AuthorAgeFilesLines
* Draggable: Don't run stop methods for elements that have been removed. ↵Scott González2012-04-301-2/+8
| | | | | | | | | | Fixed #8269 - Removing draggable element on drop : a(this).data("draggable") is undefined. (cherry picked from commit 27d10235539e0f5baad6ee7e8d3d91cab65e2cfd) Conflicts: ui/jquery.ui.draggable.js
* Protect all copyright notices against minificationJörn Zaefferer2012-04-021-1/+1
| | | | | | | | 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 37dcc3e21df5f1373ff9963217073a9faecfc057, dropped menu, spinner and tooltip)
* Updated copyright year.Scott González2012-03-191-1/+1
|
* Draggable: Only run iframeFix logic if the option is truthy. Fixes #7632 - ↵Scott González2011-08-121-9/+11
| | | | Draggable: iframeFix always runs with old versions of jQuery.
* Droppable: Added dragStart and dragStop to ddmanager and call them from ↵kborchers2011-05-271-0/+7
| | | | | | draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo (cherry picked from commit 67bd872fe1f8c4763d646f4eca852777e6f7a126)
* Draggable: Changed logic to only subtract left and top offsets of ↵kborchers2011-05-131-2/+2
| | | | | | 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 6e6d0b749c4724955a88a0a53ae1378391991064)
* Draggable: Check for grid elements set to 0 to prevent divide by 0 error ↵kborchers2011-05-131-2/+3
| | | | | | causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error (cherry picked from commit d136e4333e117b33aa16eb9a3a5831a25b1a2dd9)
* Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable ↵Kato Kazuyoshi2011-05-111-2/+2
| | | | | | Demo duplicates DOM Ids. (cherry picked from commit 98fcb477d6a7091b21e9b7bc0b8c28f798954d47)
* Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270.Mark Johnson2011-05-021-18/+20
| | | | (cherry picked from commit b1c8a13a1669dca4c4bde97fe2cc8b76f661b432)
* Draggable: containment now updates dynamically to handle scrolling ↵Edward Faulkner2011-05-021-14/+28
| | | | | | container. Fixed #4445 containment ignored when scrolling in overflow div (cherry picked from commit d62074961171ea00deaae34890b78f917d21bf68)
* Draggable: Calling .refreshPositions instead of ._refreshItems when dragging ↵Matt Hoskins2011-03-141-1/+1
| | | | 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 84257e7f0ae20b81b085f1360c15defdd2b89ea9)
* Draggable: modify margins of the containment according to the margin of the ↵Guillaume Gautreau2011-03-081-5/+7
| | | | | | draggable element. Fixed #7084 - Draggable with parent containment and margin (cherry picked from commit 3a0ec399cdd19c7e7b11934aef559cfa6b8f8258)
* Draggable: Incase helper is not set to 'original' succeed with revert action ↵Christoph Burgdorf2011-01-181-2/+2
| | | | even if the original element has been removed. Fixes #6871
* Updated copyright year.Scott González2011-01-171-1/+1
|
* Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with ↵Jean-Francois Remy2010-12-011-4/+4
| | | | containment on position:fixed elements.
* All: Added http://jqueryui.com/about to header comments.Scott González2010-07-141-1/+1
|
* All: Define a local undefined variable inside the main closure.Scott González2010-07-131-1/+1
|
* Updated copyright headers to make it clear that you can choose between MIT ↵Scott González2010-07-091-3/+3
| | | | and GPLv2. Also added a link to http://jquery.org/license.
* Revert "Draggable: Don't use computed style for top and left of ↵Richard D. Worth2010-04-231-2/+2
| | | | | | position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera" This reverts commit dc94bbf53628ada1b5d8e7da909f63bfe10f25ff.
* Draggable: Don't use computed style for top and left of position:relative ↵Richard D. Worth2010-04-221-2/+2
| | | | elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera
* Draggable: Don't try to stack if there are no elements in the stacking group.Scott González2010-02-181-0/+1
| | | | Fixes #5191 - Draggable: stack option can throw error.
* Draggable: Don't recalculate the relative offset during drag. I couldn't ↵Scott González2010-02-141-9/+0
| | | | | | reproduce the issues described in the comments for this code. Fixes #4824 - draggable broken on inline elements in webkit browsers
* Fixed event prefix in all plugins that don't use the default prefix.Scott González2010-02-051-2/+2
| | | | Fixes #5134 - Events not being triggered for drag and drop.
* Draggable: Don't adjust offsets for fixed position elements in Safari 4.Scott González2010-02-041-4/+4
| | | | Fixes #4631 - Draggable: Fixed positions include wrong scroll offset in Safari 4.
* draggable: implemented #4145 - start,drag and stop events should be preventablePaul Bakaus2010-01-281-7/+27
|
* Happy New YearRichard Worth2010-01-201-1/+1
|
* Widget factory: Changed _create to _init.Scott González2010-01-151-1/+1
| | | | Partial fix for #5064 - Widget: make multiple instantiation more useful.
* Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, ↵Scott González2010-01-071-31/+30
| | | | menu; including menu static tests).
* Split mouse into its own file and udpdated dependency lists.Scott González2009-12-221-0/+2
| | | | Fixes #5023 - Split mouse code into its own file.
* renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to ↵Richard Worth2009-09-171-0/+784
jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935