projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b14499
)
Only use event element, if offset is positive.
author
Jan Schneider
<jan@horde.org>
Wed, 18 Mar 2009 12:26:52 +0000
(13:26 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 18 Mar 2009 12:26:52 +0000
(13:26 +0100)
imp/js/src/dragdrop.js
patch
|
blob
|
history
diff --git
a/imp/js/src/dragdrop.js
b/imp/js/src/dragdrop.js
index
eb80024
..
9fdbf02
100644
(file)
--- a/
imp/js/src/dragdrop.js
+++ b/
imp/js/src/dragdrop.js
@@
-443,7
+443,9
@@
Drag = Class.create({
{
var drop, x, y;
- if (this.options.caption || this.options.offset) {
+ if (this.options.caption ||
+ (this.options.offset &&
+ (this.options.offset.x > 0 || this.options.offset.y > 0))) {
return e.element();
}