Improved title update.
This commit is contained in:
parent
01dcf0a971
commit
9eec33ccb8
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ class Index extends App.Controller
|
|||
title = $this.html()
|
||||
title = ('' + title)
|
||||
.replace(/<.+?>/g, '')
|
||||
title = ('' + title)
|
||||
.replace(/ /g, ' ')
|
||||
if title is '-'
|
||||
title = ''
|
||||
@ticket.title = title
|
||||
|
|
Loading…
Reference in a new issue