Patch Changes
-
#2377
0b302ee- Stopdestroy()removing a different instance.Dropzone.instances.splice(indexOf(this), 1)dropped the last entry wheneverindexOfreturned -1 — callingdestroy()twice was enough — evicting an unrelated live Dropzone from the registry. -
#2377
dc5d7bf- Setenctype="multipart/form-data"on a form again.init()comparedtagNameagainst lower-case"form", which never matches, so the attribute was never set. Only affects forms that are also submitted natively; the XHR upload is unchanged.