changeset 5abafe02b70c in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=5abafe02b70c
description:
Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131.
issue8325
diffstat:
src/view.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r eb4883a7e477 -r 5abafe02b70c src/view.js
--- a/src/view.js Sun May 05 19:33:48 2019 +0200
+++ b/src/view.js Sun May 05 19:50:58 2019 +0200
@@ -113,7 +113,7 @@
}
});
['yexpand', 'yfill', 'xexpand', 'xfill', 'colspan',
- 'position'].forEach(function(name) {
+ 'position', 'height', 'width'].forEach(function(name) {
if (node_attrs[name]) {
node_attrs[name] = Number(node_attrs[name]);
}