]> git.p6c8.net - jirafeau.git/commit
[BUGFIX] always prefer using HTML5 features if available
authorJerome Jutteau <jerome@jutteau.fr>
Sun, 15 Nov 2020 22:54:31 +0000 (23:54 +0100)
committerJerome Jutteau <jerome@jutteau.fr>
Sun, 15 Nov 2020 22:57:48 +0000 (23:57 +0100)
commit964faa704b2ed91aa5df77906cdb38909dff21b6
tree125dfb476185f750e2f62765655db796838b5d0b
parent2cca8753a5d894f285a3dfbbac7bb7f76baf3cf9
[BUGFIX] always prefer using HTML5 features if available

Classic uploads (one single post request) were used even if HTML5 features were available as an optimization to avoid more requests than needed.
However, in case of badly configured server Jirafeau cannot try to resend a file with a lower size like async uploads.
Now, the js client is always using async uploads if HTML5 feature is available.

ref #234

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
lib/functions.js.php

patrick-canterino.de