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

This commit is contained in:
Nathan Gray 2015-02-10 19:49:31 +00:00
parent 459b15ac93
commit 0411ff02ec

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
{