Remove role="row" in tr This selector is not used

This commit is contained in:
acognet
2021-12-01 08:56:21 +01:00
parent c02ea05883
commit b00b08d08b
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
<tr role="row" id="{{ oUIBlock.GetRef() }}_row_{{ oUIBlock.GetRowId() }}" {% for cellName,cellValue in oUIBlock.GetData() %}
<tr id="{{ oUIBlock.GetRef() }}_row_{{ oUIBlock.GetRowId() }}" {% for cellName,cellValue in oUIBlock.GetData() %}
{% if cellName is same as('@class') %} class="{{ cellValue }}"{% endif %}
{% if cellName is same as('@meta') %} {{ cellValue | raw}}{% endif %}{% endfor %}
>

View File

@@ -14,7 +14,6 @@
{% for data in oUIBlock.GetData() %}
<tr {% if data['@id'] is not empty %}id="{{ data['@id'] }}" {% endif %}
role="row"
{% if data['@class'] is not empty %} class="{{ data['@class'] }}"{% endif %}
{% if data['@meta'] is not empty %} {{ data['@meta'] | raw}}{% endif %}>
{% for name,column in columns %}