Improved task title generation.
This commit is contained in:
parent
7e37dbd9a0
commit
3b586cb018
1 changed files with 6 additions and 2 deletions
|
@ -50,10 +50,14 @@ class App.TicketCreate extends App.Controller
|
|||
@render(defaults)
|
||||
|
||||
meta: =>
|
||||
text = App.i18n.translateInline( @article_attributes['title'] )
|
||||
subject = @el.find('[name=subject]').val()
|
||||
if subject
|
||||
text = "#{text}: #{subject}"
|
||||
meta =
|
||||
url: @url()
|
||||
head: App.i18n.translateInline( @article_attributes['title'] )
|
||||
title: App.i18n.translateInline( @article_attributes['title'] )
|
||||
head: text
|
||||
title: text
|
||||
id: @type
|
||||
|
||||
url: =>
|
||||
|
|
Loading…
Reference in a new issue