Code

Boolean HTML templating was broken
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 25 Mar 2004 02:06:08 +0000 (02:06 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 25 Mar 2004 02:06:08 +0000 (02:06 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2181 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
roundup/cgi/templating.py

index 1353736a86681d01589c3d6cb1b4b9599fb3a748..00e3161f9ab3a9036223ded5ebec93d8aa1964ca 100644 (file)
@@ -5,6 +5,9 @@ are given with the most recent entry first.
 Feature:
 - added CSV export to index pages
 
+Fixed:
+- Boolean HTML templating was broken
+
 
 2004-03-24 0.7.0b1
 Major new features:
index a403481864364642d7a03072f332ee334593f6d9..df604bb45af6afe901f23e50c4218d2f3df35414 100644 (file)
@@ -1205,7 +1205,7 @@ class BooleanHTMLProperty(HTMLProperty):
         '''
         self.view_check()
 
-        if not is_edit_ok():
+        if not self.is_edit_ok():
             return self.plain()
 
         checked = self._value and "checked" or ""