summaryrefslogtreecommitdiffstats
path: root/core/js/shareconfigmodel.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-08-25 16:07:14 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:27 +0200
commitc17d022ca42dda31f321276f2c4973ca2e43c8a4 (patch)
tree1f6b396a40bda268ab609e263edf6c493325fc97 /core/js/shareconfigmodel.js
parentf62a3be59069510f4afa479316a665011cd014f5 (diff)
downloadnextcloud-server-c17d022ca42dda31f321276f2c4973ca2e43c8a4.tar.gz
nextcloud-server-c17d022ca42dda31f321276f2c4973ca2e43c8a4.zip
started to implement sharee list view. not completed yet, do not cry please.
Diffstat (limited to 'core/js/shareconfigmodel.js')
-rw-r--r--core/js/shareconfigmodel.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/shareconfigmodel.js b/core/js/shareconfigmodel.js
index 857e356a351..e948c57cbac 100644
--- a/core/js/shareconfigmodel.js
+++ b/core/js/shareconfigmodel.js
@@ -58,6 +58,13 @@
/**
* @returns {boolean}
*/
+ isResharingAllowed: function() {
+ return oc_appconfig.core.resharingAllowed
+ },
+
+ /**
+ * @returns {boolean}
+ */
isShareWithLinkAllowed: function() {
return $('#allowShareWithLink').val() === 'yes';
},