Just valid if article body exists.
This commit is contained in:
parent
7f27fefdb6
commit
63fbc51fb6
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ class App.TicketZoom extends App.Controller
|
|||
console.log('ticket validateion ok')
|
||||
|
||||
articleParams = @articleNew.params()
|
||||
if articleParams
|
||||
if articleParams && articleParams.body
|
||||
article = new App.TicketArticle
|
||||
article.load(articleParams)
|
||||
errors = article.validate()
|
||||
|
|
Loading…
Reference in a new issue