mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
firefox-android can't multiselect
This commit is contained in:
parent
2044de6cf6
commit
1131b4dcf7
|
@ -212,6 +212,14 @@ function o(id) {
|
||||||
|
|
||||||
fobj = fobj.getAsFile();
|
fobj = fobj.getAsFile();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
fobj.size;
|
||||||
|
}
|
||||||
|
catch {
|
||||||
|
return alert(
|
||||||
|
'Due to a browser bug, Firefox-Android can only do one file at a time:\n' +
|
||||||
|
'https://bugzilla.mozilla.org/show_bug.cgi?id=1456557');
|
||||||
|
}
|
||||||
var entry = {
|
var entry = {
|
||||||
"n": parseInt(st.files.length.toString()),
|
"n": parseInt(st.files.length.toString()),
|
||||||
"t0": new Date().getTime(), // TODO remove probably
|
"t0": new Date().getTime(), // TODO remove probably
|
||||||
|
|
Loading…
Reference in a new issue