Fixed issue #554 - Overview is not show it organization is used as row and first ticket has no organization (app is not responding anymore).

This commit is contained in:
Martin Edenhofer 2016-12-16 15:34:03 +01:00
parent 6b6a0a05e5
commit 4283b4adfb
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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