Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
@@ -12,8 +12,8 @@ define(function() {
|
||||
*/
|
||||
config.notificationTimeout = 5000;
|
||||
|
||||
config.USE_FS_STORE = false;
|
||||
config.USE_HOMEPAGE_TABLE = true;
|
||||
config.USE_FS_STORE = true;
|
||||
config.USE_HOMEPAGE_TABLE = false;
|
||||
|
||||
return config;
|
||||
});
|
||||
|
||||
@@ -133,8 +133,11 @@ define([
|
||||
}
|
||||
};
|
||||
|
||||
var initialized = false;
|
||||
|
||||
var init = function (f, Cryptpad) {
|
||||
if (!Cryptpad) { return; }
|
||||
if (!Cryptpad || initialized) { return; }
|
||||
initialized = true;
|
||||
var hash = Cryptpad.getUserHash() || localStorage.FS_hash;
|
||||
var secret = Cryptpad.getSecrets(hash);
|
||||
var listmapConfig = {
|
||||
|
||||
@@ -95,7 +95,7 @@ define(['/customize/languageSelector.js',
|
||||
$('[data-localization]').each(translateText);
|
||||
$('#pad-iframe').contents().find('[data-localization]').each(translateText);
|
||||
$('[data-localization-title]').each(translateTitle);
|
||||
$('[data-localization-placeholder').each(translatePlaceholder);
|
||||
$('[data-localization-placeholder]').each(translatePlaceholder);
|
||||
$('#pad-iframe').contents().find('[data-localization-title]').each(translateTitle);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user