mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Fix for blank PDF values
This commit is contained in:
parent
7009fe67ae
commit
16db1135e7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -355,7 +355,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