summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-05 12:52:08 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-05 12:52:08 +0200
commit690e0b50701eca4d1af3402bdd51e13c3f5a9e7e (patch)
tree27f4f3d053fa1224f0e31808a3c8c6aa84436cc6 /apps/files_sharing
parentd0eb8f8668189d5fe82c9d783f30564d643ba604 (diff)
downloadnextcloud-server-690e0b50701eca4d1af3402bdd51e13c3f5a9e7e.tar.gz
nextcloud-server-690e0b50701eca4d1af3402bdd51e13c3f5a9e7e.zip
Dont overwrite OCA.Sharing
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/public.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 27e8d361ff9..a2248405d22 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -10,7 +10,9 @@
/* global FileActions, Files */
/* global dragOptions, folderDropOptions */
-OCA.Sharing = {};
+if (!OCA.Sharing) {
+ OCA.Sharing = {};
+}
if (!OCA.Files) {
OCA.Files = {};
}