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 = $this.html()
|
||||||
title = ('' + title)
|
title = ('' + title)
|
||||||
.replace(/<.+?>/g, '')
|
.replace(/<.+?>/g, '')
|
||||||
|
title = ('' + title)
|
||||||
|
.replace(/ /g, ' ')
|
||||||
if title is '-'
|
if title is '-'
|
||||||
title = ''
|
title = ''
|
||||||
@ticket.title = title
|
@ticket.title = title
|
||||||
|
|
Loading…
Reference in a new issue