diff --git a/sao/src/view/form.js b/sao/src/view/form.js index 495ae6b2e3..9af84dbcc9 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -3472,7 +3472,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'); @@ -3976,7 +3976,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');