Commit 32355255 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: inner{Weight,Width} is not applicable to window document (from jQuery API).

parent 14ba8cff
...@@ -162,12 +162,12 @@ ...@@ -162,12 +162,12 @@
}\n }\n
\n \n
function setContainerDivSize(event) {\n function setContainerDivSize(event) {\n
width = $(window).innerWidth() - ace_editor_container_div.offset().left * 2 - 1;\n width = $(window).width() - ace_editor_container_div.offset().left * 2 - 1;\n
if(width < 200)\n if(width < 200)\n
width = 200;\n width = 200;\n
ace_editor_container_div.width(width);\n ace_editor_container_div.width(width);\n
\n \n
height = $(window).innerHeight() - ace_editor_container_div.offset().top * 2 - 1;\n height = $(window).height() - ace_editor_container_div.offset().top * 2 - 1;\n
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
...@@ -196,8 +196,8 @@ ...@@ -196,8 +196,8 @@
\n \n
ace_editor_container_div.prependTo(body_element);\n ace_editor_container_div.prependTo(body_element);\n
ace_editor_container_div.addClass(\'maximize\');\n ace_editor_container_div.addClass(\'maximize\');\n
ace_editor_container_div.width($(window).innerWidth());\n ace_editor_container_div.width($(window).width());\n
ace_editor_container_div.height($(window).innerHeight());\n ace_editor_container_div.height($(window).height());\n
\n \n
body_element.prepend(ace_editor_maximize_mode_message);\n body_element.prepend(ace_editor_maximize_mode_message);\n
ace_editor_maximize_mode_message.css(\'opacity\', 1.0);\n ace_editor_maximize_mode_message.css(\'opacity\', 1.0);\n
......
2013-07-09 arnaud.fontaine
* ZODB Components: inner{Weight,Width} is not applicable to window document (from jQuery API).
2013-07-09 arnaud.fontaine 2013-07-09 arnaud.fontaine
* ZODB Components: Update ace_editor to 1.1.01. * ZODB Components: Update ace_editor to 1.1.01.
......
7 8
\ No newline at end of file \ No newline at end of file
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