1
0
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:
Hillel Coren 2018-06-10 11:31:13 +03:00
parent ac1ce1f043
commit 6403cc1bff
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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) {