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

This commit is contained in:
yflory
2017-08-17 15:44:41 +02:00
6 changed files with 46 additions and 25 deletions

View File

@@ -82,7 +82,7 @@ define([], function () {
},
getMetadata: function () {
checkUpdate(false);
return metadataObj;
return Object.freeze(JSON.parse(JSON.stringify(metadataObj)));
},
getMetadataLazy: function () {
return metadataLazyObj;

View File

@@ -1,3 +0,0 @@
// Fix for noscript bugs when caching iframe content.
// Caution, this file will get cached, you must change the name if you change it.
document.getElementById('sbox-iframe').setAttribute('src', 'http://localhost:3001/pad2/inner.html?cb=' + (+new Date()));