BUG 7612 Cannot create Dynaform using PM table

This problem was fixed, there was a problem with an index of the grid
This commit is contained in:
Carlos Pacha
2011-09-09 12:39:04 -04:00
parent dea6bea6ff
commit 49adad7297
3 changed files with 7 additions and 5 deletions

View File

@@ -4,11 +4,13 @@ require_once('classes/model/AdditionalTables.php');
$oAdditionalTables = new AdditionalTables();
$aData = $oAdditionalTables->load($_POST['ADD_TABLE'], true);
$addTabName = $aData['ADD_TAB_NAME'];
$c = 1;
foreach ($aData['FIELDS'] as $iRow => $aRow) {
if ($aRow['FLD_KEY'] == 1) {
$aFields['FIELDS'][$iRow] = $aRow;
$aFields['FIELDS'][$c++] = $aRow;
}
}
//g::pr($aFields['FIELDS']); die;
$aFields['DYN_UID'] = $_POST['DYN_UID'];
$aFields['ADD_TABLE'] = $_POST['ADD_TABLE'];

View File

@@ -38,7 +38,7 @@
} else {
action = document.getElementsByName('form[DYN_SOURCE]')[1].value;
}
panel = popupWindowObject('@G::LoadTranslation(ID_NEW_DYNAFORM)', '@G::encryptlink(@#dynaformsNewPlugin)?PRO_UID=@%PRO_UID&ACTION='+action , 400, 350);
panel = popupWindowObject('@G::LoadTranslation(ID_NEW_DYNAFORM)', '@G::encryptlink(@#dynaformsNewPlugin)?PRO_UID=@%PRO_UID&ACTION='+action , 450, 350);
currentPopupWindow.remove();
}

View File

@@ -99,7 +99,7 @@ document.getElementById('form[DYN_TITLE]').value = document.getElementById('form
oPanel = new leimnud.module.panel();
oPanel.options = {
limit : true,
size : {w:400,h:350},
size : {w:450,h:350},
position : {x:0,y:0,center:true},
title : '',
theme : 'processmaker',