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
|
@ -3,7 +3,7 @@
|
|||
|
||||
<tal:comment replace="nothing">Edit macro for an Date.</tal:comment>
|
||||
<metal:edit define-macro="edit"
|
||||
tal:define="years python:range(widget['startYear'], widget['endYear']+1);
|
||||
tal:define="years python: contextObj.getSelectableYears(widget['name']);
|
||||
dummyName python: '_d_ummy_%s' % name">
|
||||
<tal:comment replace="nothing">This field is not used but required by the Javascript popup.</tal:comment>
|
||||
<input type="hidden" tal:attributes="name dummyName; id dummyName"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue