diff --git a/admin-dev/themes/template/list_action_details.tpl b/admin-dev/themes/template/list_action_details.tpl index 41ec34727..c47cc128d 100644 --- a/admin-dev/themes/template/list_action_details.tpl +++ b/admin-dev/themes/template/list_action_details.tpl @@ -58,7 +58,8 @@ $(document).ready(function() { var count = 0; // Number of non-empty collum $.each(row, function(it) { - count++; + if(typeof(data.fields_display[it]) != 'undefined') + count++; }); $.each(data.fields_display, function(it, line) { @@ -80,7 +81,7 @@ $(document).ready(function() { else if (count == 0) content.append($(''+row[it]+'')); else - content.append($(''+row[it]+'')); + content.append($(''+row[it]+'')); } }); content.append($(''));