|
|
@ -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) {
|
|
|
|