From 27087048353f6af87428de83db4a04c230bea284 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Wed, 5 Jan 2022 10:20:58 +0100 Subject: [PATCH] Follow up 6e90f4bfa2528378f4000cc24934c82d4ff4fd11 - Fixes #3880 - Changing ticket status from "new" to any other status always results in uncommited status "closed". --- app/assets/javascripts/app/controllers/ticket_zoom.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.coffee index aa02b0935..0f87bb3a9 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.coffee @@ -984,15 +984,14 @@ class App.TicketZoom extends App.Controller processData: true success: (data) => - #App.SessionStorage.set(@key, data) - @load(data, true, true) - # reset article - should not be resubmitted on next ticket update ticket.article = undefined # reset form after save @reset() + @load(data, false, true) + if @sidebarWidget @sidebarWidget.commit()