added a new way to validate grids that they are assigned in some dynaforms

This commit is contained in:
Carlos Pacha
2011-01-03 22:23:09 +00:00
parent b6dd4b4a60
commit b9e642bcc8
2 changed files with 64 additions and 9 deletions

View File

@@ -119,7 +119,8 @@
isokDependent = ajax_function('@G::encryptlink(@#dynaformsDelete)','getDynaformAssign','DYN_UID='+uid+'&PRO_UID='+proUid,'POST');
if(isokDependent){
alert(G_STRINGS.ID_DYNAFORM_ASSIGN);return false;
msgBox(G_STRINGS.ID_DYNAFORM_ASSIGN,"alert");
return false;
}
result = ajax_function('@G::encryptlink(@#dynaformsDelete)','getRelationInfDynaform','DYN_UID='+uid,'POST');
labelToshow = (result)?'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_IDOCUMENT)':'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_DYNAFORM)';