Commit Graph

85 Commits

Author SHA1 Message Date
Jörn Zaefferer
afc6835cd2 Merge branch 'master' into interactions
Conflicts:
	ui/jquery.ui.draggable.js
2012-07-24 17:20:18 +02: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
Jörn Zaefferer
8b47438d6c Merge branch 'master' into interactions 2012-05-25 17:07:42 +02: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
Scott González
62ce3e0f87 Draggable: Moved containment extension into jquery.ui.draggable.js. Removed axis extension from constrain-movement demo. 2012-01-30 20:57:52 -05:00
Scott González
b15af6a193 Draggable: Removed start positions in event data. 2012-01-28 19:34:29 -05:00
Scott González
a1d312b3ed Draggable: Add ui-draggable class on init. 2012-01-28 11:12:54 -05:00
Scott González
3c6e8a7b91 Draggable: Only pass relevant data for each event. 2012-01-27 22:17:27 -05:00
Scott González
87c55b69e4 Draggable: Added beforeStart event. 2012-01-27 22:06:37 -05:00
Richard D. Worth
d056a9ac2f Interaction: make _start not have to return true (an explicit return false will still cancel) 2012-01-26 11:02:54 -05:00
Scott González
7236f2935a Draggable: Added appendTo option. 2012-01-22 21:51:46 -05:00
Scott González
20e87070a6 Draggable: Don't change position on drag stop. 2012-01-20 22:07:52 -05:00
Scott González
30a12111d9 Draggable: Added start positions to ui hashes in events. 2012-01-20 21:17:11 -05:00
Scott González
266fb1e89e Draggable: Position helper in the same relative position as the original element, compared to the pointer. 2012-01-15 15:18:12 -05:00
Scott González
003bbf42fc Draggable: Pass pointer position in the ui hash for all events. 2012-01-15 13:34:46 -05:00
Scott González
178c21c0b4 Interaction: Rename position hash to pointerPosition and use x/y instead of left/top. 2012-01-15 12:57:39 -05:00
Scott González
b0fda0cd14 Draggable: Added handle option. 2012-01-14 16:15:02 -05:00
Scott González
b9db636cbe Draggable: Cleanup. 2012-01-14 15:49:58 -05:00
Scott González
e41a10b559 Interaction: Normalize top/left coordinates in hooks. 2012-01-08 21:48:53 -05:00
Scott González
49ea77eff7 Draggable: Use pageX/Y instead of clientX/Y. 2012-01-08 15:21:20 -05:00
Scott González
66d11338a9 Draggable: Fixed comments about events. 2012-01-07 20:44:51 -05:00
Scott González
247c29ee93 Draggable, Droppable: Updated dependencies. 2012-01-07 12:20:49 -05:00
Scott González
b7a0c6a4cf Draggable: Cleanup. 2012-01-07 12:18:08 -05:00
Dave Stein
5d029ffab0 Draggable: Removed scrollSpeed/Sensitivity options. Consolidated scrolling code for different scrollParents 2011-11-27 18:32:34 -05:00
Dave Stein
da1b946e66 Droppable: Answered TODO comment about Math.round 2011-11-27 17:55:04 -05:00
Dave Stein
2799b4a67f Draggable: Replaced .offset() with math. Added TODO about absolute elements within relative container 2011-11-27 17:27:55 -05:00
Dave Stein
c0c1a1d16c Draggable: Replaced todo with actual comment in regards to CSS. 2011-11-27 17:09:50 -05:00
Scott González
a28fb9f98f Merge branch 'master' into interactions
Conflicts:
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
2011-11-23 12:33:44 -05:00
Scott González
dbaa744f0c Interaction: Initial implementation for base interaction plugin. 2011-11-23 12:03:09 -05:00
Scott González
51e1d576f6 Draggable: Cleanup. 2011-11-23 09:03:02 -05:00
Scott González
4792d5b7af Draggable: Cleanup. 2011-11-17 19:48:04 -05:00
Dave Stein
38c06026a1 Draggable: Fixed offset calculation. Offset now passed back in uiHash. 2011-11-13 17:14:19 -05:00
Dave Stein
1ca93b4a6c Draggable: Added in iframeFix option 2011-11-06 17:42:35 -05:00
Dave Stein
7941f7c13f Draggable: Redid f7ec502992 after bad merge. 2011-11-06 16:39:17 -05:00
Dave Stein
536a11893a Draggable: Removed answered TODO 2011-11-06 16:31:09 -05:00
Dave Stein
ec9c1cf6f4 Draggable: Proper use of ._trigger for detecting preventDefault. _uiHash now returns position and helper - removed offset. 2011-11-06 16:20:56 -05:00
=
1337573adc Squashed commit of the following:
Draggable:
 Fixed when cssPosition is being set.
 Scrolling handles non-doc overflow.
 _handleScrolling handles scrolling up and left now
 Made window, doc, and window part of base widget
 All parts of drag may be stopped via stopPropagation
 User can now override position of draggable on start, drag, and stop
 Whitespace fix
 Moved overflowWidth and overflowHeight into overflow.width and overflow.height
2011-10-25 21:54:03 -04: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
a0946d0364 Draggable: Remove all ids when using helper: true. 2011-10-17 08:26:12 -04:00
Scott González
c4df28939c Draggable: Use ._bind(). 2011-10-14 15:03:10 -04:00
Scott González
ee094ccf4d Draggable: Cleanup. 2011-10-14 14:29:03 -04:00
=
c8e13708eb Draggable: Scrollbars being handled when scrollParent is document 2011-10-09 00:54:47 -04:00
=
e43ce91212 Draggable: No longer overwriting _trigger 2011-10-08 23:34:26 -04:00