diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-08-20 17:54:52 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-08-20 17:54:52 +0200 |
commit | 7c64ae4663738d4085d951e0e3dd9a8f69741358 (patch) | |
tree | c423207041ada3eff9b8815eac433d4e6297b148 /apps/files/js/detailtabview.js | |
parent | 9573d7d60d2d2c38ad82c8ca9befeb7ed7fa817f (diff) | |
download | nextcloud-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.js | 2 |
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; })(); |