Bug 47: google doc list. The dynaforms can't be saved with the name of another existing dynaform

This commit is contained in:
Gustavo Adolfo Cruz Laura
2010-12-15 16:59:26 +00:00
parent 3770364b76
commit c2d2fa485f
4 changed files with 62 additions and 18 deletions

View File

@@ -30,6 +30,12 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
$dynaform = new dynaform();
$oJSON = new Services_JSON();
if(isset($_POST['function']) && $_POST['function']=='lookforNameDynaform'){
$existsName = $dynaform->verifyExistingName($_POST['NAMEDYNAFORM'], $_POST['proUid']);
print $existsName;
die();
}
if(isset($_POST['form']))
{
$aData = $_POST['form']; //For old process map form