Commit 19407928 authored by Michel Pelletier's avatar Michel Pelletier

Fixed bug where checkbox to create constructors and such was allways

checked, if if you unchecked it.  This was due to a name conflict with
'CreateFactory'.  It's now called, 'CreateAFactory'
parent 04c83536
......@@ -124,7 +124,7 @@ def dbVersionEquals(ver):
def manage_addZClass(self, id, title='', baseclasses=[],
meta_type='', CreateFactory=0, REQUEST=None):
meta_type='', CreateAFactory=0, REQUEST=None):
"""Add a Z Class
"""
bases=[]
......
......@@ -49,8 +49,8 @@
<TR>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT TYPE="CHECKBOX" NAME="CreateFactory:int" VALUE="1"
<!--#if CreateFactory-->CHECKED<!--#/if-->>
<INPUT TYPE="CHECKBOX" NAME="CreateAFactory:int" VALUE="1"
<!--#if CreateAFactory-->CHECKED<!--#/if-->>
<STRONG>Create Factory and add methods.</STRONG>
</TD>
</TR>
......@@ -102,3 +102,18 @@
</BODY></HTML>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment