Skip to main content
Sign in
Snippets Groups Projects
Commit 7fc73c5e authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Merge pull request #1144 from owncloud/dont-show-sidebar-setup

don't show sidebar if account setup isn't successful
parents e71cbf22 43958b8b
No related merge requests found
...@@ -129,6 +129,7 @@ define(function(require) { ...@@ -129,6 +129,7 @@ define(function(require) {
var creatingAccount = require('app').request('account:create', config); var creatingAccount = require('app').request('account:create', config);
$.when(creatingAccount).done(function() { $.when(creatingAccount).done(function() {
Mail.trigger('ui:menu:show');
// reload accounts // reload accounts
Mail.trigger('accounts:load'); Mail.trigger('accounts:load');
}); });
...@@ -143,8 +144,6 @@ define(function(require) { ...@@ -143,8 +144,6 @@ define(function(require) {
_this.ui.iconLoading.hide(); _this.ui.iconLoading.hide();
_this.ui.inputs.prop('disabled', false); _this.ui.inputs.prop('disabled', false);
_this.ui.submitButton.val(t('mail', 'Connect')); _this.ui.submitButton.val(t('mail', 'Connect'));
Mail.trigger('ui:menu:show');
}); });
}, },
onImapSslModeChange: function() { onImapSslModeChange: function() {
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment