From 7c64ae4663738d4085d951e0e3dd9a8f69741358 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 20 Aug 2015 17:54:52 +0200 Subject: 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. --- apps/files/js/detailtabview.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') 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; })(); -- cgit v1.2.3