Fix bug for param helptext in New Report page
This commit is contained in:
		
							parent
							
								
									53cf771c81
								
							
						
					
					
						commit
						d1d781966f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue