je ne vois plus pq le widget Time appelait getHtmlFormValue() même quand le
champ était read-only.
This commit is contained in:
parent
184e5b957b
commit
ef95fd3625
|
@ -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()
|
||||
|
|
Reference in New Issue