Fix bug for param helptext in New Report page
This commit is contained in:
parent
53cf771c81
commit
d1d781966f
|
@ -431,7 +431,8 @@ class ReportOutputView(ExportMasterView):
|
||||||
node.default = param.default
|
node.default = param.default
|
||||||
|
|
||||||
# set docstring
|
# set docstring
|
||||||
helptext[param.name] = param.helptext
|
# nb. must avoid newlines, they cause some weird "blank page" error?!
|
||||||
|
helptext[param.name] = param.helptext.replace('\n', ' ')
|
||||||
|
|
||||||
schema.add(node)
|
schema.add(node)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue