diff --git a/app/assets/javascripts/app/controllers/_profile/notification.coffee b/app/assets/javascripts/app/controllers/_profile/notification.coffee index 75836bae5..9b9b7b119 100644 --- a/app/assets/javascripts/app/controllers/_profile/notification.coffee +++ b/app/assets/javascripts/app/controllers/_profile/notification.coffee @@ -123,7 +123,7 @@ class ProfileNotification extends App.ControllerSubContent if !params.notification_config[area[0]][area[1]][area[2]] params.notification_config[area[0]][area[1]][area[2]] = {} - for recipientKey in ['owned_by_me', 'owned_by_nobody', 'mentioned', 'no'] + for recipientKey in ['owned_by_me', 'owned_by_nobody', 'subscribed', 'no'] if params.notification_config[area[0]][area[1]][area[2]][recipientKey] == undefined params.notification_config[area[0]][area[1]][area[2]][recipientKey] = false diff --git a/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee b/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee index 591191d0d..f194f826b 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee @@ -120,7 +120,7 @@ class App.UiElement.ticket_selector elements['ticket.mention_user_ids'] = name: 'mention_user_ids' - display: 'Mention' + display: 'Subscribe' tag: 'autocompletion_ajax' relation: 'User' null: false diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee index 6d585dce8..b1f5b010b 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee @@ -131,18 +131,18 @@ class SidebarTicket extends App.Controller if @ticket.currentView() is 'agent' @mentionWidget = new App.WidgetMention( - el: localEl.filter('.mentions') + el: localEl.filter('.js-subscriptions') object: @ticket mentions: @mentions ) @tagWidget = new App.WidgetTag( - el: localEl.filter('.tags') + el: localEl.filter('.js-tags') object_type: 'Ticket' object: @ticket tags: @tags ) @linkWidget = new App.WidgetLink.Ticket( - el: localEl.filter('.links') + el: localEl.filter('.js-links') object_type: 'Ticket' object: @ticket links: @links @@ -150,7 +150,7 @@ class SidebarTicket extends App.Controller if @permissionCheck('knowledge_base.*') and App.Config.get('kb_active') @linkKbAnswerWidget = new App.WidgetLinkKbAnswer( - el: localEl.filter('.link_kb_answers') + el: localEl.filter('.js-linkKbAnswers') object_type: 'Ticket' object: @ticket links: @links diff --git a/app/assets/javascripts/app/views/profile/notification.jst.eco b/app/assets/javascripts/app/views/profile/notification.jst.eco index d6483c06d..b74c8e202 100644 --- a/app/assets/javascripts/app/views/profile/notification.jst.eco +++ b/app/assets/javascripts/app/views/profile/notification.jst.eco @@ -11,7 +11,7 @@