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:
@@ -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'];
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user