Commit 0b7201c2 authored by Jérome Perrin's avatar Jérome Perrin

bug fix : string containing nbsp where not displayed in list render format.

replace   with spaces


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4076 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1392709e
......@@ -1723,8 +1723,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
# XXX this is horrible, but it would be better without those   ....
if type(attribute_value_tmp) == type(''):
if 'nbsp' in attribute_value_tmp:
attribute_value_tmp = None
if ' ' in attribute_value_tmp:
attribute_value_tmp = attribute_value_tmp.replace(' ', ' ')
current_listboxline.addColumn( cname[0] , attribute_value_tmp)
......@@ -1777,8 +1777,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
# XXX this is horrible, but it would be better without those   ....
if type(attribute_value_tmp) == type(''):
if 'nbsp' in attribute_value_tmp:
attribute_value_tmp = None
if ' ' in attribute_value_tmp:
attribute_value_tmp = attribute_value_tmp.replace(' ', ' ')
current_listboxline.addColumn( cname[0] , attribute_value_tmp)
......@@ -1855,8 +1855,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
# XXX this is horrible, but it would be better without those   ....
if type(value_tmp) == type(''):
if 'nbsp' in value_tmp:
value_tmp = None
if ' ' in value_tmp:
value_tmp = value_tmp.replace('&nbsp', ' ')
current_listboxline.addColumn( column[0] , value_tmp )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment