diff --git a/src/main/webapp/resources/js/base/base-fims.js b/src/main/webapp/resources/js/base/base-fims.js index dd2bf21e..c996af2d 100644 --- a/src/main/webapp/resources/js/base/base-fims.js +++ b/src/main/webapp/resources/js/base/base-fims.js @@ -286,13 +286,16 @@ function getCellDefs($th, $td){ for(var i=0; i < $th.length; i++){ var label = $th.eq(i).text(); + label = label.replace("\n", ""); + label = label.replace("\t", ""); + label = label.replace(" ", ""); if(label != ""){ var width = $th.eq(i).outerWidth(); width = Math.ceil(width/10) + 2; - var field; + var field = ""; if($td.eq(i).hasClass("privacy-cell")){ field = $td.eq(i).find("span:eq(0)").text(); } else { @@ -300,6 +303,9 @@ function getCellDefs($th, $td){ } field = field.replace("{", ""); field = field.replace("}", ""); + field = field.replace("\n", ""); + field = field.replace("\t", ""); + field = field.replace(" ", ""); var cellDef = { label : label,