Refresh unsorted and templates when files data changes

This commit is contained in:
yflory
2016-12-22 17:20:05 +01:00
parent 9b6c9e3891
commit 81259fc25f
2 changed files with 7 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ define([
if (!rt.proxy[Cryptpad.storageKey] || !Cryptpad.isArray(rt.proxy[Cryptpad.storageKey])) {
var oldStore = Cryptpad.getStore(true);
oldStore.get(Cryptpad.storageKey, function (err, s) {
rt.proxy.filesData = s;
rt.proxy[Cryptpad.storageKey] = s;
onReady(f, rt.proxy, Cryptpad.storageKey);
});
return;