Commit 55a92e5c authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_code_mirror: Fix layout of warnings/errors div to make it consistent with maximize info div.

parent 9a236325
...@@ -70,9 +70,9 @@ ...@@ -70,9 +70,9 @@
position: absolute;\n position: absolute;\n
bottom: 0;\n bottom: 0;\n
right: 20px;\n right: 20px;\n
width: 40%;\n max-width: 40%;\n
z-index: 424242;\n z-index: 424242;\n
padding: 20px;\n padding: 10px;\n
background-color: #DAE6F6;\n background-color: #DAE6F6;\n
border: 1px solid #97B0D1;\n border: 1px solid #97B0D1;\n
opacity: 0.3;\n opacity: 0.3;\n
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
merge_mode_elem = null;\n merge_mode_elem = null;\n
\n \n
maximize_mode_message = $(\'<span id="maximize_message">Press ESC to leave maximize mode</span>\');\n maximize_mode_message = $(\'<span id="maximize_message">Press ESC to leave maximize mode</span>\');\n
\n \n
function maximizeFullscreenRemoveSaveMessage() {\n function maximizeFullscreenRemoveSaveMessage() {\n
$(\'.maximize_fullscreen_message\').remove();\n $(\'.maximize_fullscreen_message\').remove();\n
}\n }\n
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
msg_elem = $(\'<div class="\' + msg_elem_classes + \'"\' +\n msg_elem = $(\'<div class="\' + msg_elem_classes + \'"\' +\n
\'<div>\' + maximize_fullscreen_message + \'</div></div>\');\n \'<div>\' + maximize_fullscreen_message + \'</div></div>\');\n
\n \n
msg_elem.appendTo(cm.getWrapperElement());\n $(\'body\').prepend(msg_elem);\n
\n \n
function animateMessageComplete() {\n function animateMessageComplete() {\n
if(!error_arr.length && !warning_arr.length)\n if(!error_arr.length && !warning_arr.length)\n
......
2014-12-26 arnaud.fontaine
* Fix layout of warnings/errors div to make it consistent with maximize info div.
2014-12-26 arnaud.fontaine 2014-12-26 arnaud.fontaine
* Fix warning/error messages div not being displayed in maximize mode. * Fix warning/error messages div not being displayed in maximize mode.
......
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