Fixed resent of articles.
This commit is contained in:
parent
5980a39ea0
commit
57271ffa72
1 changed files with 7 additions and 0 deletions
|
@ -241,6 +241,10 @@ class TicketTitle extends App.Controller
|
|||
|
||||
# update title
|
||||
@ticket.title = title
|
||||
|
||||
# reset article - should not be resubmited on next ticket update
|
||||
ticket.article = undefined
|
||||
|
||||
@ticket.save()
|
||||
|
||||
# update taskbar with new meta data
|
||||
|
@ -580,6 +584,9 @@ class Edit extends App.Controller
|
|||
ticket.save(
|
||||
done: (r) =>
|
||||
|
||||
# reset article - should not be resubmited on next ticket update
|
||||
ticket.article = undefined
|
||||
|
||||
# reset form after save
|
||||
App.TaskManager.update( @task_key, { 'state': {} })
|
||||
|
||||
|
|
Loading…
Reference in a new issue