mirror of https://gitlab.com/bashrc2/epicyon
Add autocomplete when creating posts
parent
1b67716789
commit
12d80d79d3
|
@ -425,7 +425,7 @@ def htmlEditLinks(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
'<br>'
|
'<br>'
|
||||||
editLinksForm += \
|
editLinksForm += \
|
||||||
' <textarea id="message" name="editedAbout" ' + \
|
' <textarea id="message" name="editedAbout" ' + \
|
||||||
'style="height:100vh" spellcheck="true">' + \
|
'style="height:100vh" spellcheck="true" autocomplete="on">' + \
|
||||||
aboutStr + '</textarea>'
|
aboutStr + '</textarea>'
|
||||||
editLinksForm += \
|
editLinksForm += \
|
||||||
'</div>'
|
'</div>'
|
||||||
|
@ -444,7 +444,7 @@ def htmlEditLinks(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
'<br>'
|
'<br>'
|
||||||
editLinksForm += \
|
editLinksForm += \
|
||||||
' <textarea id="message" name="editedTOS" ' + \
|
' <textarea id="message" name="editedTOS" ' + \
|
||||||
'style="height:100vh" spellcheck="true">' + \
|
'style="height:100vh" spellcheck="true" autocomplete="on">' + \
|
||||||
TOSStr + '</textarea>'
|
TOSStr + '</textarea>'
|
||||||
editLinksForm += \
|
editLinksForm += \
|
||||||
'</div>'
|
'</div>'
|
||||||
|
|
|
@ -555,7 +555,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
dateAndLocation += \
|
dateAndLocation += \
|
||||||
' <textarea id="message" ' + \
|
' <textarea id="message" ' + \
|
||||||
'name="repliesModerationOption" style="height:' + \
|
'name="repliesModerationOption" style="height:' + \
|
||||||
str(messageBoxHeight) + 'px" spellcheck="true"></textarea>\n'
|
str(messageBoxHeight) + 'px" spellcheck="true" ' + \
|
||||||
|
'autocomplete="on"></textarea>\n'
|
||||||
dateAndLocation += '</div>\n'
|
dateAndLocation += '</div>\n'
|
||||||
dateAndLocation += '<div class="container">\n'
|
dateAndLocation += '<div class="container">\n'
|
||||||
dateAndLocation += '<label class="labels">' + \
|
dateAndLocation += '<label class="labels">' + \
|
||||||
|
@ -753,7 +754,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
|
|
||||||
newPostForm += \
|
newPostForm += \
|
||||||
' <textarea id="message" name="message" style="height:' + \
|
' <textarea id="message" name="message" style="height:' + \
|
||||||
str(messageBoxHeight) + 'px"' + selectedStr + ' spellcheck="true">' + \
|
str(messageBoxHeight) + 'px"' + selectedStr + \
|
||||||
|
' spellcheck="true" autocomplete="on">' + \
|
||||||
'</textarea>\n'
|
'</textarea>\n'
|
||||||
newPostForm += extraFields + citationsStr + dateAndLocation
|
newPostForm += extraFields + citationsStr + dateAndLocation
|
||||||
if not mediaInstance or replyStr:
|
if not mediaInstance or replyStr:
|
||||||
|
|
Loading…
Reference in New Issue