Show More
@@ -197,7 +197,8 b' class PostForm(NeboardForm):' | |||||
197 | email = forms.CharField(max_length=100, required=False, label=_('e-mail'), |
|
197 | email = forms.CharField(max_length=100, required=False, label=_('e-mail'), | |
198 | widget=forms.TextInput(attrs={ |
|
198 | widget=forms.TextInput(attrs={ | |
199 | 'class': 'form-email'})) |
|
199 | 'class': 'form-email'})) | |
200 |
subscribe = forms.BooleanField(required=False, |
|
200 | subscribe = forms.BooleanField(required=False, | |
|
201 | label=_('Subscribe to thread'), initial=True) | |||
201 |
|
202 | |||
202 | guess = forms.CharField(widget=forms.HiddenInput(), required=False) |
|
203 | guess = forms.CharField(widget=forms.HiddenInput(), required=False) | |
203 | timestamp = forms.CharField(widget=forms.HiddenInput(), required=False) |
|
204 | timestamp = forms.CharField(widget=forms.HiddenInput(), required=False) |
@@ -210,7 +210,6 b' function resetForm() {' | |||||
210 | var form = getForm(); |
|
210 | var form = getForm(); | |
211 |
|
211 | |||
212 | form.find('input:text, input:password, input:file, textarea').val(''); |
|
212 | form.find('input:text, input:password, input:file, textarea').val(''); | |
213 | form.find('input:radio, input:checkbox').removeAttr('checked').removeAttr('selected'); |
|
|||
214 | pastedImages = []; |
|
213 | pastedImages = []; | |
215 | $('#pasted-images').remove(); |
|
214 | $('#pasted-images').remove(); | |
216 | $('.file_wrap').find('.file-thumb').remove(); |
|
215 | $('.file_wrap').find('.file-thumb').remove(); |
General Comments 0
You need to be logged in to leave comments.
Login now