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
This commit is contained in:
krzaczek 2011-10-04 16:08:14 +02:00 committed by Robin Appelman
parent 82f30c709c
commit 7454af0c79
1 changed files with 1 additions and 1 deletions

View File

@ -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>';
}