appy.gen: bugfix with the master/slave mechanism while launching Zope in debug mode; added boolean attribute Date.reverseYears allowing to display years in reverse order in the widgets for choosing the year; bugfix in Javascript code for hiding slave widgets with Google Chrome.
This commit is contained in:
parent
a608a9b43f
commit
36237c3ee5
6 changed files with 35 additions and 40 deletions
|
@ -1002,6 +1002,10 @@ class BaseMixin:
|
|||
# Compare the value
|
||||
return compValue == dateValue
|
||||
|
||||
def getSelectableYears(self, name):
|
||||
'''Gets the list of selectable years for Date field named p_name.'''
|
||||
return self.getAppyType(name).getSelectableYears()
|
||||
|
||||
def getPossibleValues(self, name, withTranslations, withBlankValue,
|
||||
className=None):
|
||||
'''Gets the possible values for field named p_name. This field must be a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue