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

This commit is contained in:
Caleb James DeLisle
2017-08-21 18:38:16 +02:00
3 changed files with 10 additions and 134 deletions

View File

@@ -74,7 +74,8 @@ define([
origin: window.location.origin,
pathname: window.location.pathname,
readOnly: readOnly,
availableHashes: hashes
availableHashes: hashes,
isTemplate: Cryptpad.isTemplate(window.location.href)
}
});
});
@@ -138,7 +139,6 @@ define([
Cryptpad.moveToTrash(cb);
});
sframeChan.on('Q_SAVE_AS_TEMPLATE', function (data, cb) {
Cryptpad.saveAsTemplate(Cryptget.put, data, cb);
});