diff --git a/gulliver/js/codemirror/addon/hint/show-hint.js b/gulliver/js/codemirror/addon/hint/show-hint.js index 306abdbda..42e8caac7 100644 --- a/gulliver/js/codemirror/addon/hint/show-hint.js +++ b/gulliver/js/codemirror/addon/hint/show-hint.js @@ -61,6 +61,12 @@ CodeMirror.showHint = function(cm, getHints, options) { hints.style.top = top + "px"; hints.style.width = (maxWidth * 18) + "px"; + ie = /MSIE \d/.test(navigator.userAgent); + if( ie.length > 0 ) { + hints.style.left = (left + 2) + "px"; + hints.style.top = (top + 20) + "px"; + } + hints.style.zIndex = "5000"; document.body.appendChild(hints); diff --git a/workflow/engine/xmlform/dynaforms/fields/javascript.xml b/workflow/engine/xmlform/dynaforms/fields/javascript.xml index 0f8ffb963..b6802853d 100755 --- a/workflow/engine/xmlform/dynaforms/fields/javascript.xml +++ b/workflow/engine/xmlform/dynaforms/fields/javascript.xml @@ -63,7 +63,7 @@ var jsEditorPrompt = CodeMirror.fromTextArea(document.getElementById("form[PME_C mode: "javascript", lineNumbers: true, lineWrapping: true }); -jsEditorPrompt.setSize(330, 170); +jsEditorPrompt.setSize(430, 170); function saveJavascript() { @@ -82,4 +82,4 @@ function setFocus1() { setTimeout('setFocus1()', 500); ]]> - \ No newline at end of file +