dont suggest bup if no write-access

This commit is contained in:
ed 2021-05-16 00:30:32 +02:00
parent b19cf260c2
commit f93016ab85
2 changed files with 2 additions and 2 deletions

View file

@ -1306,7 +1306,7 @@ function despin(sel) {
function apply_perms(perms) { function apply_perms(perms) {
perms = perms || []; perms = perms || [];
var o = QSA('#ops>a[data-perm]'); var o = QSA('#ops>a[data-perm], #u2footfoot');
for (var a = 0; a < o.length; a++) { for (var a = 0; a < o.length; a++) {
var display = 'inline'; var display = 'inline';
var needed = o[a].getAttribute('data-perm').split(' '); var needed = o[a].getAttribute('data-perm').split(' ');

View file

@ -99,5 +99,5 @@
</table> </table>
<p id="u2foot"></p> <p id="u2foot"></p>
<p id="u2footfoot">( you can use the <a href="#" id="u2nope">basic uploader</a> if you don't need lastmod timestamps, resumable uploads, or progress bars )</p> <p id="u2footfoot" data-perm="write">( you can use the <a href="#" id="u2nope">basic uploader</a> if you don't need lastmod timestamps, resumable uploads, or progress bars )</p>
</div> </div>