]> git.openstreetmap.org Git - osqa.git/commitdiff
Don't make the wiki checkbox on by default on answers form if question is also wiki.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 30 Jul 2010 16:04:13 +0000 (16:04 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 30 Jul 2010 16:04:13 +0000 (16:04 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@554 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/forms/qanda.py

index 672ffd8683d41a7c41b1f3f2889e26afb75d2eba..c3bf4c4bab5f29552db9f66237d9ef7eb762ecb6 100644 (file)
@@ -168,8 +168,8 @@ class AnswerForm(forms.Form):
         if settings.WIKI_ON:
             self.fields['wiki'] = WikiField()
 
-            if question.nis.wiki:
-                self.fields['wiki'].initial = True
+            #if question.nis.wiki:
+            #    self.fields['wiki'].initial = True
 
 
 class RetagQuestionForm(forms.Form):