mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for blank PDF values
This commit is contained in:
parent
ac1ce1f043
commit
6403cc1bff
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)
|
||||
}
|
||||
|
||||
// search/replace values
|
||||
var regExp = new RegExp('\\$[a-zA-Z0-9_\\.]*[Value]?', 'g');
|
||||
var regExp = new RegExp('\\$[a-zA-Z][a-zA-Z0-9_\\.]*[Value]?', 'g');
|
||||
var matches = javascript.match(regExp);
|
||||
|
||||
if (matches) {
|
||||
|
Loading…
Reference in New Issue
Block a user