Merge branch 'staging' into slide2

This commit is contained in:
yflory
2017-09-08 16:23:07 +02:00
21 changed files with 436 additions and 89 deletions

View File

@@ -312,6 +312,10 @@ define([
sframeChan.on('Q_TEMPLATE_USE', function (href, cb) {
Cryptpad.useTemplate(href, Cryptget, cb);
});
sframeChan.on('Q_TEMPLATE_EXIST', function (type, cb) {
var hasTemplate = Cryptpad.listTemplates(type).length > 0;
cb(hasTemplate);
});
sframeChan.ready();