From 09a1854d8a7d4ccd75eb36eb49b7dad9637ab6fe Mon Sep 17 00:00:00 2001 From: jennylee Date: Mon, 21 Jan 2013 16:00:38 -0400 Subject: [PATCH] BUG 9873 Error creating Dynaform from a PM Table. When adding a field, the 'Field Name' must be an string without spaces in the middle, because this makes the name of some funtions were generated wrong, like getColosa Email() when it must be like getColosaEmail() or getColosa_Email(). So, this field in the creating PM Table form, was validated to transform any string into a string without spaces. --- workflow/engine/templates/pmTables/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/templates/pmTables/edit.js b/workflow/engine/templates/pmTables/edit.js index 18c7c138e..855b4ca71 100755 --- a/workflow/engine/templates/pmTables/edit.js +++ b/workflow/engine/templates/pmTables/edit.js @@ -162,7 +162,7 @@ Ext.onReady(function(){ allowBlank: true, listeners:{ change: function(f,e){ - this.setValue(this.getValue().toUpperCase()); + this.setValue(this.getValue().replace(" ","").toUpperCase()); } } }