]> source.dussan.org Git - nextcloud-server.git/commit
Fixed share with link checkbox missing as regular user
authorVincent Petry <pvince81@owncloud.com>
Mon, 21 Oct 2013 09:29:40 +0000 (11:29 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 21 Oct 2013 09:29:40 +0000 (11:29 +0200)
commitf8717bc26005912f14fb0da52b7dd66f86f3b929
tree60180a1d55f28eb05f76a65eb8e8f96083a12a1c
parentf5a6d6b43e6a91d0e9ef0940e1a83530f5a5cff6
Fixed share with link checkbox missing as regular user

Instead of loading the app config setting "shareapi_allow_links" using a
synchronous ajax call that fails when the user is not an admin, this fix
puts the flag directly in the template so it doesn't need to be loaded
afterwards.

Fixes #5440
apps/files/index.php
apps/files/templates/index.php
core/js/share.js