BUG-TREE_STEPS Error en la funcionalidad de guardado

Se debe validar solo cuando han ocurrido cambios
This commit is contained in:
norahmollo
2014-02-05 16:48:30 -04:00
parent 7929369624
commit 0c44ef3887
3 changed files with 17 additions and 17 deletions

View File

@@ -256,8 +256,8 @@ Ext.onReady(function(){
}
}
if (swDynaformChange) {
if ((swRequiredField == 1)){
if (swRequiredField == 1){
if (swDynaformChange) {
Ext.MessageBox.show({
title: _("ID_CONFIRM"),
msg: _("ID_DYNAFORM_SAVE_CHANGES"),
@@ -292,14 +292,13 @@ Ext.onReady(function(){
}
}
});
} else {
} else {
loadMaskStep.show();
document.getElementById("openCaseFrame").src = node.attributes.url;
}
} else {
swNodeCurrentSelect = 1;
}
} else {
loadMaskStep.show();
//Set URL and redirect
document.getElementById("openCaseFrame").src = node.attributes.url;
}
}
} else {
loadMaskStep.show();