Commit Graph

108 Commits

Author SHA1 Message Date
Dave Stein
34b4fbf08b Draggable: Added revertDuration backCompat. 2012-12-11 19:28:47 -05:00
Dave Stein
5a2e5a0a9a Draggable: Added revert backCompat with TODO for droppable strings, since that is not written yet 2012-12-11 19:21:37 -05:00
Dave Stein
421f6afdc4 Draggable: Added opacity backCompat along with some more comments in other areas 2012-12-11 19:16:20 -05:00
Dave Stein
3cd5010b80 Draggable: Added grid backCompat and fixed styles for single -> double quotes 2012-12-11 18:20:48 -05:00
Dave Stein
9ef0828219 Draggable: Fixed elem reference in cursorAt 2012-12-11 11:56:48 -05:00
Dave Stein
f1f1b8d97e Draggable: Fixed variable casing + added cursorAt backCompat based on cursor-style.html demo 2012-12-11 11:55:08 -05:00
Dave Stein
4626c2bb34 Draggable: Added cursor backCompat 2012-12-10 18:03:58 -05:00
Dave Stein
44330395e1 Draggable: Added axis backCompat 2012-12-10 17:50:13 -05:00
Dave Stein
8a8a26f9da Draggable: Removed disabled option after realizing it is in widget. Also fixed spaces -> tabs. 2012-12-10 17:35:15 -05:00
Dave Stein
93dfd995df Draggable: Added disabled option 2012-12-10 17:20:11 -05:00
Dave Stein
94e475ba2d Draggable: _blockFrames now appends blocking div to iframe parent rather than body. Should fix Ticket #7650. 2012-12-10 17:14:37 -05:00
Dave Stein
25cf569c63 Draggable: Added exclude option without backCompat 2012-12-10 17:10:45 -05:00
Mike Sherov
4e0e4e113a Get the draggable tests to run 2012-12-04 22:26:40 -05:00
Dave Stein
74912d383a Draggable: Replaced incorrect comma with semicolon after lint 2012-11-13 16:37:09 -05:00
Dave Stein
fb2eca6552 Draggable: If beforeStart is stopped by user, and appendTo is set, dragEl will be reset to proper position anyway 2012-11-08 16:10:43 -05:00
Scott González
c07ae398fa Merge branch 'master' into interactions
Conflicts:
	demos/draggable/constrain-movement.html
	demos/draggable/cursor-style.html
	demos/draggable/handle.html
	demos/draggable/index.html
	demos/draggable/revert.html
	demos/draggable/visual-feedback.html
	demos/index.html
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
2012-11-05 16:49:51 -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
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