diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-12-11 23:42:22 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-12-11 23:42:22 +0100 |
commit | 9fdd1bafdc2aafcf27b939ba259818830f2df25e (patch) | |
tree | e3adba60b879b3b6199abbbd5457807435ff4791 /apps/files_sharing | |
parent | efecb694eff7129d1ca24627ac366f3bcc939864 (diff) | |
parent | 5e711f37ca3f009317a3c8cd0e47ed4f15922142 (diff) | |
download | nextcloud-server-9fdd1bafdc2aafcf27b939ba259818830f2df25e.tar.gz nextcloud-server-9fdd1bafdc2aafcf27b939ba259818830f2df25e.zip |
Merge branch 'master' into filesystem
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/ajax/getitem.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/ajax/setpermissions.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/ajax/share.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/ajax/unshare.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/ajax/userautocomplete.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/js/share.js | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_sharing/ajax/getitem.php b/apps/files_sharing/ajax/getitem.php index 075ec043eac..d9df4abe984 100644 --- a/apps/files_sharing/ajax/getitem.php +++ b/apps/files_sharing/ajax/getitem.php @@ -1,5 +1,5 @@ <?php -$RUNTIME_NOAPPS = true; +//$RUNTIME_NOAPPS = true; require_once('../../../lib/base.php'); OC_JSON::checkAppEnabled('files_sharing'); diff --git a/apps/files_sharing/ajax/setpermissions.php b/apps/files_sharing/ajax/setpermissions.php index 7ee8f0e57bd..200202c704c 100644 --- a/apps/files_sharing/ajax/setpermissions.php +++ b/apps/files_sharing/ajax/setpermissions.php @@ -1,5 +1,5 @@ <?php -$RUNTIME_NOAPPS = true; +//$RUNTIME_NOAPPS = true; require_once('../../../lib/base.php'); OC_JSON::checkAppEnabled('files_sharing'); diff --git a/apps/files_sharing/ajax/share.php b/apps/files_sharing/ajax/share.php index d1f50994317..9b10260da5a 100644 --- a/apps/files_sharing/ajax/share.php +++ b/apps/files_sharing/ajax/share.php @@ -1,5 +1,5 @@ <?php -$RUNTIME_NOAPPS = true; +//$RUNTIME_NOAPPS = true; require_once('../../../lib/base.php'); OC_JSON::checkAppEnabled('files_sharing'); diff --git a/apps/files_sharing/ajax/unshare.php b/apps/files_sharing/ajax/unshare.php index a19a85cfda3..d8a72a00efe 100644 --- a/apps/files_sharing/ajax/unshare.php +++ b/apps/files_sharing/ajax/unshare.php @@ -1,5 +1,5 @@ <?php -$RUNTIME_NOAPPS = true; +//$RUNTIME_NOAPPS = true; require_once('../../../lib/base.php'); OC_JSON::checkAppEnabled('files_sharing'); diff --git a/apps/files_sharing/ajax/userautocomplete.php b/apps/files_sharing/ajax/userautocomplete.php index 21516c3d091..9d971fb62af 100644 --- a/apps/files_sharing/ajax/userautocomplete.php +++ b/apps/files_sharing/ajax/userautocomplete.php @@ -1,5 +1,5 @@ <?php -$RUNTIME_NOAPPS = true; +//$RUNTIME_NOAPPS = true; require_once('../../../lib/base.php'); 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>'; } |