Fix cache and storage issues in share and filepicker iframes

This commit is contained in:
yflory committed 2020-01-13 17:06:49 +01:00
1 parent 73af078e4a
commit d02092eb76
3 files changed
+19 -4

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ define([
// Remove the listener once we've received the READY message
window.removeEventListener('message', whenReady);
// Answer with the requested data
postMsg(JSON.stringify({ txid: data.txid, language: Cryptpad.getLanguage() }));
postMsg(JSON.stringify({ txid: data.txid, language: Cryptpad.getLanguage(), localStore: window.localStore, cache: window.cpCache }));
// Then start the channel
window.addEventListener('message', function (msg) {