Pass an array as drop target. Fixes drag & drop files only worked on input nodes

This commit is contained in:
Hadi Nategh 2015-02-11 10:35:32 +00:00
parent 4373545152
commit 6283b46764

View File

@ -246,7 +246,7 @@ var et2_file = et2_inputWidget.extend(
var drop_target = widget && widget.getDOMNode() || document.getElementById(this.options.drop_target);
if(drop_target)
{
this.resumable.assignDrop(drop_target);
this.resumable.assignDrop([drop_target]);
}
else
{