diff --git a/app/assets/javascripts/app/controllers/ticket_overview.coffee b/app/assets/javascripts/app/controllers/ticket_overview.coffee index a5083ccbc..c7f3ae44d 100644 --- a/app/assets/javascripts/app/controllers/ticket_overview.coffee +++ b/app/assets/javascripts/app/controllers/ticket_overview.coffee @@ -424,11 +424,13 @@ class Table extends App.Controller attribute.link = object.uiUrl() value callbackUserPopover = (value, object, attribute, attributes, refObject) -> + return value if !refObject attribute.class = 'user-popover' attribute.data = id: refObject.id value callbackOrganizationPopover = (value, object, attribute, attributes, refObject) -> + return value if !refObject attribute.class = 'organization-popover' attribute.data = id: refObject.id diff --git a/app/assets/javascripts/app/controllers/widget/ticket_list.coffee b/app/assets/javascripts/app/controllers/widget/ticket_list.coffee index 6856df871..8118af319 100644 --- a/app/assets/javascripts/app/controllers/widget/ticket_list.coffee +++ b/app/assets/javascripts/app/controllers/widget/ticket_list.coffee @@ -16,11 +16,13 @@ class App.TicketList extends App.Controller attribute.link = object.uiUrl() value callbackUserPopover = (value, object, attribute, attributes, refObject) -> + return value if !refObject attribute.class = 'user-popover' attribute.data = id: refObject.id value callbackOrganizationPopover = (value, object, attribute, attributes, refObject) -> + return value if !refObject attribute.class = 'organization-popover' attribute.data = id: refObject.id