Fixed callbacks for overview.

This commit is contained in:
Martin Edenhofer 2014-06-22 09:16:19 +02:00
parent 4400144c41
commit 0f1750e3ff

View file

@ -97,14 +97,18 @@ class App.DashboardTicket extends App.Controller
@navigate ticket.uiUrl() @navigate ticket.uiUrl()
callbackTicketTitleAdd = (value, object, attribute, attributes, refObject) => callbackTicketTitleAdd = (value, object, attribute, attributes, refObject) =>
attribute.title = object.title attribute.title = object.title
value
callbackLinkToTicket = (value, object, attribute, attributes, refObject) => callbackLinkToTicket = (value, object, attribute, attributes, refObject) =>
attribute.link = object.uiUrl() attribute.link = object.uiUrl()
value
callbackResetLink = (value, object, attribute, attributes, refObject) => callbackResetLink = (value, object, attribute, attributes, refObject) =>
attribute.link = undefined attribute.link = undefined
value
callbackUserPopover = (value, object, attribute, attributes, refObject) => callbackUserPopover = (value, object, attribute, attributes, refObject) =>
attribute.class = 'user-popover' attribute.class = 'user-popover'
attribute.data = attribute.data =
id: refObject.id id: refObject.id
value
new App.ControllerTable( new App.ControllerTable(
overview: @overview.view.d overview: @overview.view.d