Move the code app in a secure iframe

This commit is contained in:
yflory
2017-08-30 11:10:57 +02:00
parent ca8f05a16f
commit a2ed266048
12 changed files with 1081 additions and 203 deletions

View File

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