set sanitize-bit when evaluating remote JSON

pull/6827/head
Philipp Tessenow 14 years ago
parent 2f3507d543
commit 9b543f31e5
  1. 2
      assets/javascripts/reporting/filters.js

@ -225,7 +225,7 @@ Reporting.Filters = {
get_dependents: function (element) {
if (element.hasAttribute("data-dependents")) {
return element.getAttribute("data-dependents").replace(/'/g, '"').evalJSON();
return element.getAttribute("data-dependents").replace(/'/g, '"').evalJSON(true);
} else {
return [];
}

Loading…
Cancel
Save