From 91bbcbe3a437ff23799b00e1d775132bb61ca004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 25 Oct 2020 11:03:29 +0100 Subject: [PATCH] Call response with the end button attributes Since rev 15c499b95290, the argument to response must be the button attributes. issue9524 review326411002 --- src/tab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tab.js b/src/tab.js index 2e5f9907d5..2790ab220f 100644 --- a/src/tab.js +++ b/src/tab.js @@ -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() {