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

This commit is contained in:
yflory
2017-08-17 18:29:24 +02:00
4 changed files with 37 additions and 4 deletions

View File

@@ -36,6 +36,11 @@ define([
return ctx.cpNfInner.metadataMgr.getMetadata().defaultTitle;
};
funcs.setDisplayName = function (name, cb) {
ctx.sframeChan.query('Q_SETTINGS_SET_DISPLAY_NAME', name, function (err) {
if (cb) { cb(err); }
});
};
Object.freeze(funcs);
return { create: function (cb) {