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:
@@ -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>
|
||||
Reference in New Issue
Block a user