diff --git a/core/client/app/controllers/settings/tags.js b/core/client/app/controllers/settings/tags.js index e1b9e01ac5..9ad1913e88 100644 --- a/core/client/app/controllers/settings/tags.js +++ b/core/client/app/controllers/settings/tags.js @@ -40,11 +40,6 @@ export default Ember.Controller.extend(PaginationMixin, SettingsMenuMixin, { } }), - showErrors: function (errors) { - errors = Ember.isArray(errors) ? errors : [errors]; - this.get('notifications').showErrors(errors); - }, - saveActiveTagProperty: function (propKey, newValue) { var activeTag = this.get('activeTag'), currentValue = activeTag.get(propKey), @@ -59,10 +54,10 @@ export default Ember.Controller.extend(PaginationMixin, SettingsMenuMixin, { activeTag.set(propKey, newValue); - this.get('notifications').closeNotifications(); - - activeTag.save().catch(function (errors) { - self.showErrors(errors); + activeTag.save().catch(function (error) { + if (error) { + self.notifications.showAPIError(error); + } }); }, diff --git a/core/client/app/templates/settings/tags/settings-menu.hbs b/core/client/app/templates/settings/tags/settings-menu.hbs index f4fd409179..ecd3ad1a82 100644 --- a/core/client/app/templates/settings/tags/settings-menu.hbs +++ b/core/client/app/templates/settings/tags/settings-menu.hbs @@ -1,6 +1,6 @@