Commit d068d329 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

clone.js: Don't try to display Objects or Arrays

This would only display something unreadable for the users. So don't.
parent d955e31e
......@@ -1156,7 +1156,10 @@ Clone.prototype = {
&& this.seg[external_tool] != null) {
html += "<tr><td class='header' colspan='" + (time_length + 1) + "'> Results of "+other_infos[external_tool]+ "</td></tr>";
for (var item in this.seg[external_tool]) {
html += "<tr><td> " + item + "</td><td> " + this.seg[external_tool][item] + "</td></tr>";
if (! (this.seg[external_tool][item] instanceof Object)
&& ! (this.seg[external_tool][item] instanceof Array)) {
html += "<tr><td> " + item + "</td><td> " + this.seg[external_tool][item] + "</td></tr>";
}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment