changeset e33d428c31ab in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=e33d428c31ab
description:
Do not send array keys on on_change_with requests
fieldnames is already converted to an Array so sending it's keys will
send
the Array indexes but the server expects the field names.
issue8280
review249291003
diffstat:
src/model.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 235955d39ba9 -r e33d428c31ab src/model.js
--- a/src/model.js Sun Apr 14 14:17:39 2019 +0200
+++ b/src/model.js Mon Apr 15 13:46:17 2019 +0200
@@ -1048,7 +1048,7 @@
} else {
prm = this.model.execute(
'on_change_with',
- [values, Object.keys(fieldnames)], this.get_context());
+ [values, fieldnames], this.get_context());
prms.push(prm.then(this.set_on_change.bind(this)));
}
}