BUG 9338 Grid Field... allows to save when there are no grids yet SOLVED

- The form allow save without choose a grid.
- was performed the validation, now must be choose a grid to save.

	workflow/engine/templates/cases/casesListSetup.js
This commit is contained in:
Marco Antonio Nina
2012-06-27 10:08:15 -04:00
parent 60a4acaba3
commit c7ae7a24f4

View File

@@ -49,8 +49,7 @@ function cancel(){
}
function checkGrid (form) {
oAux = getField('PME_XMLGRID').value;
if ( getField('PME_XMLGRID').value != 0) {
if (getField('PME_XMLGRID').value != 0) {
fieldsSave(form);
}
else {
@@ -59,4 +58,4 @@ function checkGrid (form) {
}
]]></PME_JS>
</dynaForm>
</dynaForm>