Follow up 6e90f4bfa2 - Fixes #3880 - Changing ticket status from "new" to any other status always results in uncommited status "closed".

This commit is contained in:
Rolf Schmidt 2022-01-05 10:20:58 +01:00
parent aaa87b4b06
commit 2708704835

View file

@ -984,15 +984,14 @@ class App.TicketZoom extends App.Controller
processData: true processData: true
success: (data) => success: (data) =>
#App.SessionStorage.set(@key, data)
@load(data, true, true)
# reset article - should not be resubmitted on next ticket update # reset article - should not be resubmitted on next ticket update
ticket.article = undefined ticket.article = undefined
# reset form after save # reset form after save
@reset() @reset()
@load(data, false, true)
if @sidebarWidget if @sidebarWidget
@sidebarWidget.commit() @sidebarWidget.commit()