Commit 00684a73 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Move fullscreen and maximize button at the top of Ace editor (accessibility).

parent a53a1433
......@@ -119,6 +119,9 @@
font-family: monospace !important;\n
}">\n
</style>\n
\n
<input type="button" value="Maximize" onclick="maximize()"\n
class="ace_editor_action_button" />\n
\n
<textarea tal:attributes="id id; name id" tal:content="content"\n
style="display: none;"></textarea>\n
......@@ -180,7 +183,7 @@
if(event.keyCode == 27) {\n
$(\'body\').css(\'overflow\', \'visible\');\n
ace_editor_container_div.removeClass(\'maximize\');\n
ace_editor_container_div.prependTo(ace_editor_container_div_parent_before_maximized);\n
ace_editor_container_div.appendTo(ace_editor_container_div_parent_before_maximized);\n
setContainerDivSize(event);\n
}\n
}\n
......@@ -227,9 +230,6 @@
$$(\'${fullscreen_button}\').insertAfter($$(\'input.ace_editor_action_button\'));\n
};">\n
</script>\n
\n
<input type="button" value="Maximize" onclick="maximize()"\n
class="ace_editor_action_button" />\n
</tal:block>
]]></unicode> </value>
......
2012-02-28 arnaud.fontaine
* Move fullscreen and maximize button at the top of Ace editor (accessibility).
2012-02-15 arnaud.fontaine
* Use uncompressed version of ace editor source code for readability and debugging sake.
......
5
\ No newline at end of file
6
\ 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