BUG 11141 "Javascript doesn't execute when you open a..." SOLVED

- Javascript doesn't execute when you open a dynaform fort the first time
- Solved problem, JavaScript execute when you open a dynaform in mode preview
* Available from version ProcessMaker-2.0.47 (2.5.1)
This commit is contained in:
Victor Saisa Lopez
2013-04-04 11:28:09 -04:00
parent eb8e87e665
commit ad84ab69bc
4 changed files with 40 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="_options" type="grid" width="100%" editRow="0" insertRow="0">
<NAME type="text" validate="Field" size="25">
<NAME type="text" validate="Field" size="19">
<en>Value</en>
</NAME>
<LABEL type="text" size="25">
<LABEL type="text" size="19">
<en>Label</en>
</LABEL>
<OPTGROUP type="checkbox" value="1" falsevalue="0" defaultvalue="0">

View File

@@ -123,7 +123,7 @@ function gridOptionOptGroupColumn(show, swDelete)
lblOptGroup = tableGrid.rows[i].cells[j].innerHTML;
}
tableGrid.rows[i].cells[j].style.width = "20%";
tableGrid.rows[i].cells[j].style.width = "25%";
tableGrid.rows[i].cells[j].innerHTML = (show == 1)? lblOptGroup : "";
}
}