diff --git a/sao/src/view/form.js b/sao/src/view/form.js index 49f43248a0..6264cd06f5 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -3283,7 +3283,7 @@ function eval_pyson(value){ this.screen.size_limit = size_limit; this.screen.display(); if (this.attributes.height !== undefined) { - this.screen.current_view.el + this.content .find('.treeview,.list-form').first() .css('min-height', this.attributes.height + 'px') .css('max-height', this.attributes.height + 'px'); @@ -3733,7 +3733,7 @@ function eval_pyson(value){ } this.screen.display(); if (this.attributes.height !== undefined) { - this.screen.current_view.el + this.content .find('.treeview,.list-form').first() .css('min-height', this.attributes.height + 'px') .css('max-height', this.attributes.height + 'px');