From 690e0b50701eca4d1af3402bdd51e13c3f5a9e7e Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 5 Jun 2014 12:52:08 +0200 Subject: Dont overwrite OCA.Sharing --- apps/files_sharing/js/public.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/files_sharing/js') 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 = {}; } -- cgit v1.2.3