Handle quotes in JSON inside CSV files in CSV node...

so they come out as real JSON rather than being stripped.
This commit is contained in:
dceejay
2015-01-09 20:32:05 +00:00
parent 8822335700
commit 2066d53d3f
2 changed files with 3 additions and 1 deletions

View File

@@ -28,6 +28,7 @@
<option value=" ">space</option>
<option value=";">semicolon</option>
<option value=":">colon</option>
<option value="#">hashtag</option>
<option value="">other...</option>
</select>
<input style="width: 40px;" type="text" id="node-input-sep" pattern=".">
@@ -100,7 +101,7 @@
return this.name?"node_label_italic":"";
},
oneditprepare: function() {
if (this.sep == "," || this.sep == "\\t" || this.sep == ";" || this.sep == ":" || this.sep == " ") {
if (this.sep == "," || this.sep == "\\t" || this.sep == ";" || this.sep == ":" || this.sep == " " || this.sep == "#") {
$("#node-input-select-sep").val(this.sep);
$("#node-input-sep").hide();
} else {