|
|
@ -362,6 +362,14 @@ |
|
|
|
if (typeof str === 'undefined' || str === null) |
|
|
|
if (typeof str === 'undefined' || str === null) |
|
|
|
return ''; |
|
|
|
return ''; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if the String passed in that we are checking in the unparse
|
|
|
|
|
|
|
|
// is a object (which means it is a img file from the json)
|
|
|
|
|
|
|
|
// so get the url from it, so users can access the file.
|
|
|
|
|
|
|
|
if(typeof str ==="object") { |
|
|
|
|
|
|
|
return str.url; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
str = str.toString().replace(/"/g, '""'); |
|
|
|
str = str.toString().replace(/"/g, '""'); |
|
|
|
|
|
|
|
|
|
|
|
var needsQuotes = (typeof _quotes === 'boolean' && _quotes) |
|
|
|
var needsQuotes = (typeof _quotes === 'boolean' && _quotes) |
|
|
|