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

pull/1/head
ansuz 4 years ago
commit 4147e8ce5e

@ -487,7 +487,7 @@ define([
$button.click(function() { $button.click(function() {
$spinner.show(); $spinner.show();
UI.confirm(Messages.settings_deleteConfirm, function(yes) { UI.confirm(Messages.settings_deleteConfirm, function(yes) {
if (!yes) { return; } if (!yes) { return void $spinner.hide(); }
sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function(err, data) { sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function(err, data) {
// Owned drive // Owned drive
if (data.state === true) { if (data.state === true) {
@ -1568,6 +1568,7 @@ define([
.appendTo(APP.$leftside); .appendTo(APP.$leftside);
APP.$usage = $('<div>', { 'class': 'usage' }).appendTo(APP.$leftside); APP.$usage = $('<div>', { 'class': 'usage' }).appendTo(APP.$leftside);
var active = privateData.category || 'account'; var active = privateData.category || 'account';
if (!categories[active]) { active = 'account'; }
Object.keys(categories).forEach(function(key) { Object.keys(categories).forEach(function(key) {
var $category = $('<div>', { var $category = $('<div>', {
'class': 'cp-sidebarlayout-category', 'class': 'cp-sidebarlayout-category',

Loading…
Cancel
Save