projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e5fab
)
Create captions absolutely positioned.
author
Jan Schneider
<jan@horde.org>
Mon, 16 Mar 2009 15:41:00 +0000
(16:41 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 16 Mar 2009 15:44:25 +0000
(16:44 +0100)
imp/js/src/dragdrop.js
patch
|
blob
|
history
diff --git
a/imp/js/src/dragdrop.js
b/imp/js/src/dragdrop.js
index
3311d35
..
2839bc7
100644
(file)
--- a/
imp/js/src/dragdrop.js
+++ b/
imp/js/src/dragdrop.js
@@
-74,7
+74,7
@@
var DragDrop = {
register: function(obj)
{
if (!this.div) {
- this.div = new Element('DIV', { className: obj.options.classname }).hide();
+ this.div = new Element('DIV', { className: obj.options.classname }).
setStyle({ position: 'absolute' }).
hide();
$(document.body).insert(this.div);
document.observe('mousedown', this._mouseHandler.bindAsEventListener(this));
}