Expressions in the dataview-rows are now evaluated correctly

This commit is contained in:
Andreas Stöckel
2011-09-07 16:59:23 +00:00
parent f5c5df3299
commit b1223cb426
5 changed files with 65 additions and 20 deletions

View File

@ -350,7 +350,7 @@
if (typeof part == "string")
{
// Escape all "'" and "\" chars and add the string to the parts array
parts.push("'" + part.replace(/'/g, "\\'").replace(/\\/g, "\\\\") + "'");
parts.push("'" + part.replace(/\\/g, "\\\\").replace(/'/g, "\\'") + "'");
}
else
{