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() attribute.link = object.uiUrl()
value value
callbackUserPopover = (value, object, attribute, attributes, refObject) -> callbackUserPopover = (value, object, attribute, attributes, refObject) ->
return value if !refObject
attribute.class = 'user-popover' attribute.class = 'user-popover'
attribute.data = attribute.data =
id: refObject.id id: refObject.id
value value
callbackOrganizationPopover = (value, object, attribute, attributes, refObject) -> callbackOrganizationPopover = (value, object, attribute, attributes, refObject) ->
return value if !refObject
attribute.class = 'organization-popover' attribute.class = 'organization-popover'
attribute.data = attribute.data =
id: refObject.id id: refObject.id

View file

@ -16,11 +16,13 @@ class App.TicketList extends App.Controller
attribute.link = object.uiUrl() attribute.link = object.uiUrl()
value value
callbackUserPopover = (value, object, attribute, attributes, refObject) -> callbackUserPopover = (value, object, attribute, attributes, refObject) ->
return value if !refObject
attribute.class = 'user-popover' attribute.class = 'user-popover'
attribute.data = attribute.data =
id: refObject.id id: refObject.id
value value
callbackOrganizationPopover = (value, object, attribute, attributes, refObject) -> callbackOrganizationPopover = (value, object, attribute, attributes, refObject) ->
return value if !refObject
attribute.class = 'organization-popover' attribute.class = 'organization-popover'
attribute.data = attribute.data =
id: refObject.id id: refObject.id