Disable dropzone's timeout (#12024)
Disable dropzone's timeout (#12024)

Dropzone 4.4 introduced a 30s XHR timeout that will kill any upload
still in progress. This disable that timeout again.

Ref: https://www.dropzonejs.com/#config-timeout
Ref: https://github.com/go-gitea/gitea/pull/10645
Ref: https://xhr.spec.whatwg.org/#the-timeout-attribute
Fixes: https://github.com/go-gitea/gitea/issues/12022
Fixes: https://github.com/go-gitea/gitea/issues/11906

Co-authored-by: Lunny Xiao <0b0704cdf8f0790c6f1df1f74c38be95a8917ed2@gmail.com>
go-gitea/gitea,vdbt/gitea,cez81/gitea,sapk-fork/gitea,sapk-fork/gitea,vCaesar/gitea,sapk-fork/gitea,cez81/gitea,sapk-fork/gitea,go-gitea/gitea,go-gitea/gitea,cez81/gitea,vdbt/gitea,vCaesar/gitea