mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
dont suggest bup if no write-access
This commit is contained in:
parent
b19cf260c2
commit
f93016ab85
|
@ -1306,7 +1306,7 @@ function despin(sel) {
|
|||
function apply_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++) {
|
||||
var display = 'inline';
|
||||
var needed = o[a].getAttribute('data-perm').split(' ');
|
||||
|
|
|
@ -99,5 +99,5 @@
|
|||
</table>
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue