diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-13 22:44:18 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-13 22:44:18 +0200 |
commit | f86110c8ab455eb88392197a9043114a59c7c542 (patch) | |
tree | d73dcad99df41b0c6fbc075394fc9456d7c49371 /loggedin.js | |
parent | 26b06104aceb8c174e26dde66962e893db5444c6 (diff) | |
download | fileup-f86110c8ab455eb88392197a9043114a59c7c542.tar.gz |
send permissions on share
Diffstat (limited to 'loggedin.js')
-rw-r--r-- | loggedin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loggedin.js b/loggedin.js index 31c72c9..451b926 100644 --- a/loggedin.js +++ b/loggedin.js @@ -581,6 +581,7 @@ function make_share_window(folder, filename) { form_data.append('folder', folder); form_data.append('filename', filename); form_data.append('users', users); + form_data.append('permissions', data.write_permissions ? 3 : 1); form_data.append('password', data.has_password ? data.password : ""); var xhr = new XMLHttpRequest(); |