je ne vois plus pq le widget Time appelait getHtmlFormValue() même quand le

champ était read-only.
This commit is contained in:
fpeters 2004-04-17 20:24:26 +00:00
parent 184e5b957b
commit ef95fd3625
1 changed files with 0 additions and 6 deletions

View File

@ -1495,12 +1495,6 @@ register(Thing)
class Time(TimeMixin, proxyWidgets.Time):
def getHtmlValue(self, slot, fields, **keywords):
if self.isInForm():
return self.getHtmlFormValue(slot, fields, **keywords)
layout = TimeMixin.getHtmlValue(self, slot, fields, **keywords)
return layout
def getHtmlFormValue(self, slot, fields, **keywords):
fieldName = slot.getFieldName()
fieldValue = slot.getValue()