erp5_ace_editor: maximize by vertical.
Showing
... | @@ -215,7 +215,7 @@ | ... | @@ -215,7 +215,7 @@ |
width = 200;\n | width = 200;\n | ||
ace_editor_container_div.width(width);\n | ace_editor_container_div.width(width);\n | ||
\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 | ||
Please
register
or
sign in
to reply
|
|||
if(height < 400)\n | if(height < 400)\n | ||
height = 400;\n | height = 400;\n | ||
ace_editor_container_div.height(height);\n | ace_editor_container_div.height(height);\n | ||
... | ... |