From 0ebd0346b703f25d01591951bbed47966ccc4af7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 19 Jun 2013 02:57:33 +0200 Subject: [PATCH] Fixed title update. --- .../javascripts/app/controllers/ticket_zoom.js.coffee | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee index 09e07f74b..42d6a32fa 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee @@ -38,11 +38,12 @@ class App.TicketZoom extends App.Controller meta: => return if !@ticket + ticket = App.Collection.find( 'Ticket', @ticket.id ) meta = - url: @url() - head: @ticket.title - title: '#' + @ticket.number + ' - ' + @ticket.title - id: @ticket.id + url: @url() + head: ticket.title + title: '#' + ticket.number + ' - ' + ticket.title + id: ticket.id url: => '#ticket/zoom/' + @ticket.id