Add the file app in the 'new' dropdown menus

This commit is contained in:
yflory committed 2017-06-06 11:52:47 +02:00
1 parent ac91d2f413
commit 5641a4a839
4 files changed
+10 -1

No files matched your search

+2
View File
@@ -636,6 +636,8 @@ define([
var pads_options = [];
Config.availablePadTypes.forEach(function (p) {
if (p === 'drive') { return; }
if (!Cryptpad.isLoggedIn() && Config.registeredOnlyTypes &&
Config.registeredOnlyTypes.indexOf(p) !== -1) { return; }
pads_options.push({
tag: 'a',
attributes: {