Commit 805c65a3 authored by Boris Kocherov's avatar Boris Kocherov

erp5_ace_editor: maximize by vertical.

parent 5ebfc13e
......@@ -215,7 +215,7 @@
width = 200;\n
ace_editor_container_div.width(width);\n
\n
height = $(window).height() - ace_editor_container_div.offset().top * 2 - 1;\n
height = $(window).height() - ace_editor_container_div.offset().top - 40;\n
if(height < 400)\n
height = 400;\n
ace_editor_container_div.height(height);\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment