changeset bbb75b900b27 in sao:5.6
details: https://hg.tryton.org/sao?cmd=changeset;node=bbb75b900b27
description:
Call response with the end button attributes
Since rev 15c499b95290, the argument to response must be the button
attributes.
issue9524
review326411002
(grafted from ac14f0561ac59edf78a8a2844151aacc10cd3f4d)
diffstat:
src/tab.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 20d974bc4aaf -r bbb75b900b27 src/tab.js
--- a/src/tab.js Wed Oct 28 00:02:52 2020 +0100
+++ b/src/tab.js Sun Oct 25 11:03:29 2020 +0100
@@ -1412,7 +1412,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() {