changed condition to make upload work with browser dialog and drag/drop
Merge pull request #399 from massiveart/bugfix/dropzone

[BUGFIX] changed condition to make upload work with browser dialog and drag/drop