BUG 8798 Dynaforms editor incorrecta visualizacion en el titulo del... SOLVED

- In the browser safari the content of de windows exceeded of size.
- Was modified the size in the xml of the window also of reduce the size of
  editor of js.
This commit is contained in:
Marco Antonio Nina
2012-06-14 16:10:07 -04:00
parent 1899262440
commit 2f40822b67

View File

@@ -14,7 +14,7 @@
SELECT XMLNODE_NAME, TYPE FROM dynaForm WHERE XMLNODE_NAME = @@PME_XMLNODE_NAME
</PME_VALIDATE_NAME>
<PME_CODE type="textarea" cols="47" rows="12" defaultvalue="" style="overflow:scroll">
<PME_CODE type="textarea" cols="47" rows="11" defaultvalue="" style="overflow:scroll">
<en>Code</en>
</PME_CODE>
@@ -28,6 +28,18 @@ SELECT XMLNODE_NAME, TYPE FROM dynaForm WHERE XMLNODE_NAME = @@PME_XMLNODE_NAME
<PME_JS type="javascript"><![CDATA[
getField('PME_CODE').style.font='8pt Courier';
if (navigator.appName != "Microsoft Internet Explorer") {
try {
var oAllPs = document.querySelectorAll("div.panel_content___processmaker");
oAllPs[1].style.height = "330px";
}
catch(e) {
// nothing to do
}
}
var fieldForm="javascript";
var fieldName=getField("PME_XMLNODE_NAME",fieldForm);
var savedFieldName=fieldName.value;
@@ -39,8 +51,8 @@ function cancel(){
}
var jsEditorPrompt = CodeMirror.fromTextArea('form[PME_CODE]', {
height: "200px",
width: "440px",
height: "170px",
width: "430px",
parserfile: ["tokenizejavascript.js", "parsejavascript.js"],
stylesheet: ["css/jscolors.css"],
path: "js/",