Skip to content
Extraits de code Groupes Projets
Valider 3ea1eded rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

refs #6015 fix row evolution did not work for some rows if search was used

parent 03bad4b2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -185,7 +185,7 @@ DataTable_RowAction.prototype.trigger = function (tr, e, subTableLabel) { ...@@ -185,7 +185,7 @@ DataTable_RowAction.prototype.trigger = function (tr, e, subTableLabel) {
var findLevel = 'level' + (level - 1); var findLevel = 'level' + (level - 1);
var ptr = tr; var ptr = tr;
while ((ptr = ptr.prev()).size() > 0) { while ((ptr = ptr.prev()).size() > 0) {
if (!ptr.hasClass(findLevel)) { if (!ptr.hasClass(findLevel) || ptr.hasClass('nodata')) {
continue; continue;
} }
ptr.trigger(this.trEventName, { ptr.trigger(this.trEventName, {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<tbody> <tbody>
{%- endif -%} {%- endif -%}
{% if showingEmbeddedSubtable and dataTable.getRowsCount() == 0 %} {% if showingEmbeddedSubtable and dataTable.getRowsCount() == 0 %}
<tr> <tr class="nodata">
<td colspan="{{ properties.columns_to_display|length }}">{{ 'CoreHome_CategoryNoData'|translate }}</td> <td colspan="{{ properties.columns_to_display|length }}">{{ 'CoreHome_CategoryNoData'|translate }}</td>
</tr> </tr>
{% else %} {% else %}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter