Commit 4f0683af01e043be24c22e66b68c3ae82ebcc1e3
1 parent
82ad1c41
uploads
Showing
1 changed file
with
4 additions
and
0 deletions
datalets/base-ajax-json-jsonpath-datalet/static/js/AjaxJsonJsonPathBehavior.js
... | ... | @@ -101,6 +101,10 @@ var AjaxJsonJsonPathBehavior = { |
101 | 101 | |
102 | 102 | this.data = []; |
103 | 103 | |
104 | + //Deal the fields with "'" char | |
105 | + //this._component.fields = this._component.fields.replace(/#/g,"'"); | |
106 | + | |
107 | + | |
104 | 108 | this._component.fields = JSON.parse(this._component.fields); |
105 | 109 | |
106 | 110 | for(var i=0;i < this._component.fields.length; i++){ | ... | ... |