0001-dataviz-fix-jquery-element-presence-test-66947.patch
combo/apps/dataviz/static/js/chartngcell.js | ||
---|---|---|
1 | 1 |
function get_graph_querystring(extra_context, width=undefined) { |
2 | 2 |
qs = []; |
3 |
if ($('#chart-filters')) { |
|
3 |
if ($('#chart-filters').length) {
|
|
4 | 4 |
qs.push($('#chart-filters').serialize()); |
5 | 5 |
qs.push('filters_cell_id=' + $('body').data('filters-cell-id')); |
6 | 6 |
} |
7 |
- |