diff --git a/workflow/engine/js/dynaformEditor/core/dynaformEditor.js b/workflow/engine/js/dynaformEditor/core/dynaformEditor.js index 21be12243..86f791c90 100644 --- a/workflow/engine/js/dynaformEditor/core/dynaformEditor.js +++ b/workflow/engine/js/dynaformEditor/core/dynaformEditor.js @@ -458,6 +458,11 @@ var dynaformEditor={ if( ! xmlEditor ) { clientWinSize = getClientWindowSize(); + if (_BROWSER.name == 'msie') { + var content_withoutLabel = document.getElementById("form[XML]").parentNode; + content_withoutLabel.style.height = (clientWinSize.height - 140) + 'px'; + } + /*xmlEditor = CodeMirror.fromTextArea('form[XML]', { height: (clientWinSize.height - 120) + "px", width: (_BROWSER.name == 'msie' ? '100%' : '98%'), @@ -532,6 +537,11 @@ var dynaformEditor={ if( ! jsEditor ) { clientWinSize = getClientWindowSize(); + + if (_BROWSER.name == 'msie') { + var content_withoutLabel = document.getElementById("form[JS]").parentNode; + content_withoutLabel.style.height = (clientWinSize.height - 140) + 'px'; + } startJSCodePress(); /*jsEditor = CodeMirror.fromTextArea('form[JS]', { @@ -544,9 +554,9 @@ var dynaformEditor={ continuousScanning: 500 });*/ jsEditor = CodeMirror.fromTextArea(document.getElementById("form[JS]"), { - mode: "javascript", - lineNumbers: true, - lineWrapping: true }); + mode: "javascript", + lineNumbers: true, + lineWrapping: true }); } } else { showRowById('JS_TITLE'); diff --git a/workflow/engine/templates/xmlform.html b/workflow/engine/templates/xmlform.html index d70d47988..7cb7932e5 100755 --- a/workflow/engine/templates/xmlform.html +++ b/workflow/engine/templates/xmlform.html @@ -48,7 +48,7 @@ {elseif ($field->type==='')} {elseif ($field->withoutLabel)} - {$field->field} + {$field->field} {elseif (isset($field->withoutValue) && $field->withoutValue)}