Merge branch 'templates' into staging

This commit is contained in:
yflory
2017-04-10 14:19:48 +02:00
11 changed files with 194 additions and 7 deletions

View File

@@ -220,6 +220,7 @@ define([
// Categories dislayed in the menu
// _WORKGROUP_ : do not display unsorted
var displayedCategories = [ROOT, UNSORTED, TRASH, SEARCH];
if (AppConfig.enableTemplates) { displayedCategories.push(TEMPLATE); }
if (isWorkgroup()) { displayedCategories = [ROOT, TRASH, SEARCH]; }
var lastSelectTime;