changeset e48f53de7a52 in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=e48f53de7a52
description:
Ensure active_ids is always a list
issue11088
review395191003
(grafted from 24eab059161d2194fc16a900ef397c0ba406b9b3)
diffstat:
src/action.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 85ddb2b84385 -r e48f53de7a52 src/action.js
--- a/src/action.js Mon Jan 03 22:41:15 2022 +0100
+++ b/src/action.js Mon Jan 03 22:48:18 2022 +0100
@@ -73,7 +73,7 @@
var ctx = {
active_model: data.model || null,
active_id: data.id || null,
- active_ids: data.ids
+ active_ids: data.ids || [],
};
ctx = jQuery.extend(ctx, session.context);
ctx._user = session.user_id;