1
0
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:
Hillel Coren 2018-06-10 11:28:35 +03:00
parent 7009fe67ae
commit 16db1135e7
3 changed files with 4 additions and 4 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

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