mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Pass an array as drop target. Fixes drag & drop files only worked on input nodes
This commit is contained in:
parent
4373545152
commit
6283b46764
@ -246,7 +246,7 @@ var et2_file = et2_inputWidget.extend(
|
|||||||
var drop_target = widget && widget.getDOMNode() || document.getElementById(this.options.drop_target);
|
var drop_target = widget && widget.getDOMNode() || document.getElementById(this.options.drop_target);
|
||||||
if(drop_target)
|
if(drop_target)
|
||||||
{
|
{
|
||||||
this.resumable.assignDrop(drop_target);
|
this.resumable.assignDrop([drop_target]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user