178 |
const next_id = Math.max.apply(null, dt_data.map(row => row[0])) + 1; |
178 |
const next_id = Math.max.apply(null, dt_data.map(row => row[0])) + 1; |
180 |
new_line = [next_id, search_field_name, '<span>%s</span><input type="hidden" name="facet_name" value="%s" />'.format(label.escapeHtml(), search_field_name.escapeHtml()), build_delete_link()] |
180 |
new_line = [next_id, search_field_name, '<span>%s</span><input type="hidden" name="facet_name" value="%s" />'.format(label.escapeHtml(), search_field_name.escapeHtml()), build_delete_link('delete-facet')] |