Fixed resent of articles.

This commit is contained in:
Martin Edenhofer 2014-11-06 07:54:43 +01:00
parent 5980a39ea0
commit 57271ffa72

View file

@ -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': {} })