changeset ac14f0561ac5 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=ac14f0561ac5
description:
        Call response with the end button attributes

        Since rev 15c499b95290, the argument to response must be the button
        attributes.

        issue9524
        review326411002
diffstat:

 src/tab.js |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r e474e7cddb63 -r ac14f0561ac5 src/tab.js
--- a/src/tab.js        Sat Oct 24 13:14:55 2020 +0200
+++ b/src/tab.js        Sun Oct 25 11:03:29 2020 +0100
@@ -1464,7 +1464,8 @@
             var prm = jQuery.when();
             if ((wizard.state !== wizard.end_state) &&
                 (wizard.end_state in wizard.states)) {
-                prm = wizard.response(wizard.end_state);
+                prm = wizard.response(
+                    wizard.states[wizard.end_state].attributes);
             }
             var dfd = jQuery.Deferred();
             prm.always(function() {

Reply via email to