|
|
@ -54,8 +54,14 @@ define([
|
|
|
|
if (Utils.LocalStore.isLoggedIn()) { return; }
|
|
|
|
if (Utils.LocalStore.isLoggedIn()) { return; }
|
|
|
|
Utils.LocalStore.setFSHash('');
|
|
|
|
Utils.LocalStore.setFSHash('');
|
|
|
|
Utils.LocalStore.clearThumbnail();
|
|
|
|
Utils.LocalStore.clearThumbnail();
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
Utils.Cache.clear(function () {
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
window.location.reload();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
sframeChan.on('Q_DRIVE_USEROBJECT', function (data, cb) {
|
|
|
|
sframeChan.on('Q_DRIVE_USEROBJECT', function (data, cb) {
|
|
|
|
Cryptpad.userObjectCommand(data, cb);
|
|
|
|
Cryptpad.userObjectCommand(data, cb);
|
|
|
|
});
|
|
|
|
});
|
|
|
|