Call response with the end button attributes

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

issue9524
review326411002
This commit is contained in:
Cédric Krier committed 2020-10-25 11:03:29 +01:00
1 parent d8a0577e02
commit 91bbcbe3a4
1 file changed
+2 -1
+2 -1
View File
@@ -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() {