From 5f0b6afaf15e32b97e5cf8a6a2bdd5ee2171d331 Mon Sep 17 00:00:00 2001 From: Ralph Asendeteufrer Date: Tue, 16 Oct 2012 13:32:16 -0400 Subject: [PATCH 1/2] BUG 9877 PM table Dynaform Title size could grows up to infinite PROBLEM The title of the Dynaforms grows up at time to create it from a PM table. SOLUTION the title should no concat the names of the PM tables in the dynaform table, no it is only assigning the PM table tittle in case the title is empty. --- workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml b/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml index 6e87b2372..3912d89ee 100755 --- a/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml +++ b/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml @@ -17,7 +17,7 @@ Create from a PM Table - + Title @@ -87,7 +87,7 @@ document.getElementById('form[DYN_TITLE]').value = document.getElementById('form leimnud.event.add(document.getElementById('form[ADD_TABLE]'), 'change', setPMTableDynaformTitle); function setPMTableDynaformTitle(){ if(document.getElementById('form[ADD_TABLE]').value!=''){ - document.getElementById('form[DYN_TITLE]').value = document.getElementById('form[DYN_TITLE]').value + document.getElementById('form[ADD_TABLE]')[document.getElementById('form[ADD_TABLE]').selectedIndex].innerHTML; + document.getElementById('form[DYN_TITLE]').value = document.getElementById('form[ADD_TABLE]')[document.getElementById('form[ADD_TABLE]').selectedIndex].innerHTML; } } var oPanel; From 00d934bc62ebc00ab86916554d7fee3cd17eedd7 Mon Sep 17 00:00:00 2001 From: Ralph Asendeteufrer Date: Tue, 16 Oct 2012 15:00:15 -0400 Subject: [PATCH 2/2] BUG 9877 PM table Dynaform Title size could grows up to infinite PROBLEM The title of the Dynaforms grows up at time to create it from a PM table. SOLUTION the title should no concat the names of the PM tables in the dynaform table, no it is only assigning the PM table tittle. --- workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml b/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml index 3912d89ee..7f172b8cc 100755 --- a/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml +++ b/workflow/engine/xmlform/dynaforms/dynaforms_Edit.xml @@ -17,7 +17,7 @@ Create from a PM Table - + Title