aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.js
diff options
context:
space:
mode:
Diffstat (limited to 'loggedin.js')
-rw-r--r--loggedin.js1
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();