do not automatically ignore file upload fields when checking for empty rows

This commit is contained in:
Helmut Merz 2013-10-19 20:00:42 +02:00
parent cad5ba5ca3
commit 165f23cc0b

View file

@ -138,7 +138,7 @@ class GridFieldInstance(ListFieldInstance):
item[fi.name] = value
ignoreInCheckOnEmpty = getattr(self.context, 'ignoreInCheckOnEmpty', [])
for k, v in item.items():
if k not in ignoreInCheckOnEmpty and v != '__no_change__':
if k not in ignoreInCheckOnEmpty: #and v != '__no_change__':
return item
return {}