Mike Sherov
9d8af804ad
Draggable: make sure snap elements are in the document before snapping. Fixes #8459 - Draggable: element can snap to an element that was removed during drag.
2013-03-16 14:36:06 -04:00
Zbigniew Motyka
bd126a9c1c
Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly
2013-03-16 11:51:51 -04:00
Woody Gilk
82f588e82b
Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging
2013-03-15 18:52:56 -04:00
Scott González
cdff72efed
Draggable: Account for descendants in handle.
2013-03-08 10:08:58 -05:00
TJ VanToll
6358695df1
Draggable: Fix border containment. Fixed #5569 - Draggable: Containment incorrectly calculates padding and border
2013-03-07 21:42:28 -05:00
Mike Sherov
c278a4461b
Draggable Tests: Add test coverage for supported options
2013-03-04 01:05:11 -05:00
Steve Urmston
a924af12b6
Draggable: Revert flag honours Sortable revert speed. Fixed #9103 Draggable: revert option reset after being added to a connectedSortable.
2013-02-21 08:20:41 -05:00
TJ VanToll
3d39d8c32f
Removing unnecessary wrapping of this in draggable's stack option handling.
2013-02-12 21:27:21 -05:00
TJ VanToll
c32bebd1bd
Draggable: Account for z-index set in CSS for the stack option. Fixed #9077 - Draggable: stack option resets the z-index
2013-02-11 23:29:48 -05:00
Vahid Sohrabloo
2df2abcbf1
Draggable: Change $.ui.contains() to $.contains(). Fixes #9051 - Draggable: Reference to undefined $.ui.contains().
2013-02-02 15:29:31 -05:00
Scott González
83cbf97978
Update copyright year to 2013.
2013-01-10 08:52:20 -05:00
Mike Sherov
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
74d7eac2da
All: Convert single quotes to double quotes.
2012-12-25 12:01:09 -05:00
Scott González
8ec7a1b69f
All: Use .addBack() instead of .andSelf().
2012-12-14 11:13:50 -05:00
mathias.stenbom
cf9fbce139
Draggable: made handles work with complex markup. Fixes #8757 - Draggable: Resizable handle with inner element does not work, when its also draggable
2012-11-19 09:06:50 -05:00
Mike Sherov
53c462b666
Dev: make draggable pass JSHint with no local overrides
2012-11-18 11:44:12 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
Mike Sherov
f0daa220d6
Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-30 22:13:43 -04:00
Trey Hunner
49f9b849b9
Remove trailing whitespace and add final newlines
2012-10-21 22:45:41 -04:00
John Chen
20e6064711
Draggable: Fix a bug when dragging into nested sortables there are duplicated placeholders. Fixes #7777 - Draggable and Nested Sortables bug.
2012-10-10 14:46:52 -04:00
Scott González
a3f1a34d3b
Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily.
2012-10-10 11:45:48 -04:00
Scott González
149567e476
Updated docs URLS.
2012-09-26 18:06:20 -05:00
Jared A. Scheel
19a9d57868
Draggable: Always clean up iframes. Fixes #8555 - Draggable: iframeFix option leaves iframes in DOM when using a selector.
2012-09-06 12:30:11 -04:00
Scott González
485ca7192a
Simplify licensing.
2012-08-09 15:09:50 -04:00
Scott González
a4534bb993
Update copyright to jQuery Foundation.
2012-07-04 09:08:08 -04:00
Scott González
ab1d9b8ba1
Draggable: Remove workaround for Safari 3.
2012-06-14 18:32:27 -04:00
Scott González
4da1716cfd
Draggable: Fixed destroy method.
2012-05-24 15:10:49 -04:00
Viktar Varvanovich
a0c18ea250
Draggable: Apply ui-draggable-dragging class prior to calculating dimensions. Fixes #8349 - Draggable: Incorrect dimensions used if .ui-draggable-dragging changes dimensions
2012-05-24 14:31:52 -04:00
TJ VanToll
27d1023553
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.
2012-04-30 12:39:06 -04:00
Jo Liss
37dcc3e21d
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.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Trey Hunner
9d6e94faf4
Use hard tabs for indentation consistently
2012-02-27 12:04:30 -05:00
Scott González
861842d361
Draggable: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;'
2012-02-12 09:30:05 -05:00
Marwan Al Jubeh
c3c8400289
Core, Draggable: Fixed #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop
2011-10-17 19:14:54 +03:00
Scott González
6a5b21fda2
All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances.
2011-05-28 15:39:55 -04:00
kborchers
67bd872fe1
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
2011-05-27 12:01:42 -05:00
Scott González
2adfc03efe
Merge pull request #266 from kborchers/bug_4838
...
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
2011-05-13 12:35:18 -07:00
kborchers
d136e4333e
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
2011-05-13 10:23:44 -05:00
kborchers
6e6d0b749c
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
2011-05-12 16:27:12 -05:00
Kato Kazuyoshi
98fcb477d6
Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids.
2011-05-11 13:06:53 -04:00
Scott González
3d5d58d854
Merge pull request #187 from virgofx/master.
...
Fix #7270 - Draggable iFrameFix
2011-05-02 14:49:05 -07:00
Edward Faulkner
d620749611
Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div
2011-04-28 10:43:02 -04:00
Mark Johnson
b1c8a13a16
Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270 .
2011-04-19 14:39:58 -07:00
Matt Hoskins
84257e7f0a
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.
2011-03-14 06:53:00 -07:00
Guillaume Gautreau
3a0ec399cd
Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin
2011-03-08 09:32:48 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
9681b1fd7e
All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains.
2010-12-10 15:13:10 -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