mirror of https://gitlab.com/bashrc2/epicyon
Remove subject and content when creating new reading status post
parent
0757a281f4
commit
f1ca5f1993
|
@ -1157,6 +1157,7 @@ def html_new_post(edit_post_params: {},
|
||||||
new_post_form += date_and_time_str
|
new_post_form += date_and_time_str
|
||||||
new_post_form += '</div>\n'
|
new_post_form += '</div>\n'
|
||||||
|
|
||||||
|
if endpoint != 'newreadingstatus':
|
||||||
new_post_form += \
|
new_post_form += \
|
||||||
edit_text_field(placeholder_subject, 'subject', default_subject)
|
edit_text_field(placeholder_subject, 'subject', default_subject)
|
||||||
new_post_form += ''
|
new_post_form += ''
|
||||||
|
@ -1204,6 +1205,7 @@ def html_new_post(edit_post_params: {},
|
||||||
default_message = \
|
default_message = \
|
||||||
_remove_initial_mentions_from_content(default_message)
|
_remove_initial_mentions_from_content(default_message)
|
||||||
|
|
||||||
|
if endpoint != 'newreadingstatus':
|
||||||
new_post_form += \
|
new_post_form += \
|
||||||
' <textarea id="message" name="message" style="height:' + \
|
' <textarea id="message" name="message" style="height:' + \
|
||||||
str(message_box_height) + 'px"' + selected_str + \
|
str(message_box_height) + 'px"' + selected_str + \
|
||||||
|
|
Loading…
Reference in New Issue