mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 08:57:34 -04:00 
			
		
		
		
	Fix for number variables in custom design
This commit is contained in:
		
							parent
							
								
									879e7d390d
								
							
						
					
					
						commit
						dad057d99d
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -342,7 +342,7 @@ NINJA.decodeJavascript = function(invoice, javascript) | ||||
|             field = toSnakeCase(field); | ||||
| 
 | ||||
|             var value = getDescendantProp(invoice, field) || ' '; | ||||
|             value = doubleDollarSign(value); | ||||
|             value = doubleDollarSign(value) + ''; | ||||
|             value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r"); | ||||
|             javascript = javascript.replace(match, '"'+value+'"'); | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user