summaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailtabview.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-20 17:54:52 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-20 17:54:52 +0200
commit7c64ae4663738d4085d951e0e3dd9a8f69741358 (patch)
treec423207041ada3eff9b8815eac433d4e6297b148 /apps/files/js/detailtabview.js
parent9573d7d60d2d2c38ad82c8ca9befeb7ed7fa817f (diff)
downloadnextcloud-server-7c64ae4663738d4085d951e0e3dd9a8f69741358.tar.gz
nextcloud-server-7c64ae4663738d4085d951e0e3dd9a8f69741358.zip
Add namespace in case the file is loaded individually
Some apps might load this file in JS unit tests and need the OCA.Files namespace to exist.
Diffstat (limited to 'apps/files/js/detailtabview.js')
-rw-r--r--apps/files/js/detailtabview.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/detailtabview.js b/apps/files/js/detailtabview.js
index 67f8b535abd..b0e170bc4e7 100644
--- a/apps/files/js/detailtabview.js
+++ b/apps/files/js/detailtabview.js
@@ -88,6 +88,8 @@
});
DetailTabView._TAB_COUNT = 0;
+ OCA.Files = OCA.Files || {};
+
OCA.Files.DetailTabView = DetailTabView;
})();