diff --git a/core/client/controllers/modals/invite-new-user.js b/core/client/controllers/modals/invite-new-user.js index b6661c392c..391758a264 100644 --- a/core/client/controllers/modals/invite-new-user.js +++ b/core/client/controllers/modals/invite-new-user.js @@ -44,7 +44,7 @@ var InviteNewUserController = Ember.Controller.extend({ if (newUser.get('status') === 'invited-pending') { self.notifications.showWarn('Invitation email was not sent. Please try resending.'); } else { - self.notifications.showSuccess(notificationText, false); + self.notifications.showSuccess(notificationText); } }).catch(function (errors) { newUser.deleteRecord(); diff --git a/core/client/controllers/settings/users/user.js b/core/client/controllers/settings/users/user.js index dbc1eb36ce..e451234717 100644 --- a/core/client/controllers/settings/users/user.js +++ b/core/client/controllers/settings/users/user.js @@ -94,7 +94,7 @@ var SettingsUserController = Ember.ObjectController.extend({ self.notifications.showWarn('Invitation email was not sent. Please try resending.'); } else { self.get('model').set('status', result.users[0].status); - self.notifications.showSuccess(notificationText, false); + self.notifications.showSuccess(notificationText); } }).catch(function (error) { self.notifications.showAPIError(error); diff --git a/core/client/routes/reset.js b/core/client/routes/reset.js index ad32957406..25569922e6 100644 --- a/core/client/routes/reset.js +++ b/core/client/routes/reset.js @@ -5,7 +5,7 @@ var ResetRoute = Ember.Route.extend(styleBody, loadingIndicator, { classNames: ['ghost-reset'], beforeModel: function () { if (this.get('session').isAuthenticated) { - this.notifications.showWarn('You can\'t reset your password while you\'re signed in.', true); + this.notifications.showWarn('You can\'t reset your password while you\'re signed in.', { delayed: true }); this.transitionTo(SimpleAuth.Configuration.routeAfterAuthentication); } }, diff --git a/core/client/routes/signup.js b/core/client/routes/signup.js index 0801a15b56..54a7196717 100644 --- a/core/client/routes/signup.js +++ b/core/client/routes/signup.js @@ -5,7 +5,7 @@ var SignupRoute = Ember.Route.extend(styleBody, loadingIndicator, { classNames: ['ghost-signup'], beforeModel: function () { if (this.get('session').isAuthenticated) { - this.notifications.showWarn('You need to sign out to register as a new user.', true); + this.notifications.showWarn('You need to sign out to register as a new user.', { delayed: true }); this.transitionTo(SimpleAuth.Configuration.routeAfterAuthentication); } },