don't remove label in dataforms if there is no. Fixes #4202
This commit is contained in:
parent
7efaecc5d8
commit
37014a2ace
|
@ -129,6 +129,7 @@ class DataField(ExtendedNode):
|
|||
assert isinstance(value, basestring)
|
||||
self.setAttr('label', value)
|
||||
def fdel(self):
|
||||
if self.getAttr('label'):
|
||||
self.delAttr('label')
|
||||
return locals()
|
||||
|
||||
|
|
Loading…
Reference in New Issue