summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorkrzaczek <pawel@freshmind.pl>2011-10-04 16:08:14 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-11-18 14:05:38 +0100
commit7454af0c79a961c070d9ae55effc94b05f57edcd (patch)
treeaee95cccf419bd2312e1bd7101e54c71e42a21e6 /apps/files_sharing/js
parent82f30c709cc2d4c6ac218206531b7ccdffb5d4b5 (diff)
downloadnextcloud-server-7454af0c79a961c070d9ae55effc94b05f57edcd.tar.gz
nextcloud-server-7454af0c79a961c070d9ae55effc94b05f57edcd.zip
apps files_sharing - fix in share.js to check the "can edit" checkbox -
there was a bug in share.js so the checbox was always unchecked
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 4056d693bfa..4457dddbe15 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -224,7 +224,7 @@ function addUser(uid_shared_with, permissions, parentFolder) {
var user = '<li data-uid_shared_with="'+uid_shared_with+'">';
user += '<a href="" class="unshare" style="display:none;"><img class="svg" alt="Unshare" src="'+OC.imagePath('core','actions/delete')+'"/></a>';
user += uid_shared_with;
- user += '<input type="checkbox" name="permissions" id="'+uid_shared_with+'" class="permissions" "+checked+" />';
+ user += '<input type="checkbox" name="permissions" id="'+uid_shared_with+'" class="permissions" '+checked+' />';
user += '<label for="'+uid_shared_with+'" '+style+'>can edit</label>';
user += '</li>';
}