From 88813aee027e2b1606e38d3839d6657d181b015b Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 19 Jul 2017 16:36:10 +0200 Subject: [PATCH] Show that only html can be imported in pads --- www/pad/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/pad/main.js b/www/pad/main.js index 27afcecc5..58c48b699 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -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); }