diff --git a/controllets/dataset-table-controllet/dataset-table-controllet.html b/controllets/dataset-table-controllet/dataset-table-controllet.html index 9cc1020..3aa6516 100644 --- a/controllets/dataset-table-controllet/dataset-table-controllet.html +++ b/controllets/dataset-table-controllet/dataset-table-controllet.html @@ -266,8 +266,8 @@ @@ -629,13 +629,14 @@ }, _toArray: function(obj) { - var regExp = new RegExp(/(https?:\/\/[^\s]+)/g); + //var regExp = new RegExp(/(https?:\/\/[^\s]+)/g); return Object.keys(obj).map(function(key) { if(key != "ID" && key != "cssClass") { - var test = regExp.test(obj[key]); + //var test = regExp.test(obj[key]); + var test = (obj[key].constructor === Array); return { key: key, - value: test ? obj[key].split(",") : obj[key], + value: obj[key], //test ? obj[key].split(",") : obj[key], isLink: test } }