Commit 9a236325 authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_code_mirror: Fix warning/error messages div not being displayed in maximize mode.

parent 33f59cf5
...@@ -237,7 +237,8 @@ ...@@ -237,7 +237,8 @@
warning_element.animate({opacity: 1.0}, {duration: 3000, queue: false});\n warning_element.animate({opacity: 1.0}, {duration: 3000, queue: false});\n
}\n }\n
\n \n
if(cm.getOption("fullScreen") ||\n if(is_maximized ||\n
cm.getOption("fullScreen") ||\n
(document.fullScreenElement && document.fullScreenElement !== null) ||\n (document.fullScreenElement && document.fullScreenElement !== null) ||\n
document.mozFullScreen || document.webkitIsFullScreen) {\n document.mozFullScreen || document.webkitIsFullScreen) {\n
var msg_elem_classes = \'maximize_fullscreen_message\';\n var msg_elem_classes = \'maximize_fullscreen_message\';\n
......
2014-12-26 arnaud.fontaine
* Fix warning/error messages div not being displayed in maximize mode.
2014-12-19 arnaud.fontaine 2014-12-19 arnaud.fontaine
* Use monospace font in CodeMirror editor, previously overriden by ERP5 CSS. * Use monospace font in CodeMirror editor, previously overriden by ERP5 CSS.
......
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