Don't use localstorage cache for edits
This commit is contained in:
parent
e149a14e73
commit
df27614937
6 changed files with 9 additions and 9 deletions
|
@ -11,7 +11,7 @@ draft: an existing Status object that is providing default values for input fiel
|
|||
<textarea
|
||||
name="content"
|
||||
class="textarea save-draft"
|
||||
data-cache-draft="id_content_{{ type }}_{{ book.id }}{{ reply_parent.id }}"
|
||||
{% if not draft %}data-cache-draft="id_content_{{ type }}_{{ book.id }}{{ reply_parent.id }}"{% endif %}
|
||||
id="id_content_{{ type }}_{{ book.id }}{{ reply_parent.id }}{{ uuid }}"
|
||||
placeholder="{{ placeholder }}"
|
||||
aria-label="{% if reply_parent %}{% trans 'Reply' %}{% else %}{% trans 'Content' %}{% endif %}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue