added a new way to validate grids that they are assigned in some dynaforms
This commit is contained in:
@@ -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)';
|
||||
|
||||
Reference in New Issue
Block a user