Show that only html can be imported in pads

pull/1/head
yflory 2017-07-19 16:36:10 +02:00
parent b56a782f01
commit 88813aee02
1 changed files with 3 additions and 1 deletions

View File

@ -556,7 +556,9 @@ define([
if (!readOnly) {
/* add an import button */
var $import = Cryptpad.createButton('import', true, {}, importFile);
var $import = Cryptpad.createButton('import', true, {
accept: 'text/html'
}, importFile);
$drawer.append($import);
}