Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
ansuz 7 years ago
commit f276915712

@ -552,6 +552,8 @@ define([
button.click(function () { $input.click(); }); button.click(function () { $input.click(); });
break; break;
case 'importtemplate': case 'importtemplate':
if (!AppConfig.enableTemplates) { return; }
if (!common.isLoggedIn()) { return; }
button = $('<button>', { button = $('<button>', {
'class': 'fa fa-upload cp-toolbar-icon-import', 'class': 'fa fa-upload cp-toolbar-icon-import',
title: Messages.template_import, title: Messages.template_import,

Loading…
Cancel
Save