Add import & export in pad2

This commit is contained in:
yflory
2017-08-21 15:34:21 +02:00
parent 1da11a1883
commit b2e6df1f9d
2 changed files with 18 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ define([
if (callback) {
button
.click(prepareFeedback(type))
.click(UI.importContent('text/plain', function (content, file) {
.click(Cryptpad.importContent('text/plain', function (content, file) {
callback(content, file);
}, {accept: data ? data.accept : undefined}));
}