This commit is contained in:
parent
34db42e253
commit
e9b776e934
@ -577,9 +577,9 @@ QR =
|
|||||||
# prevent errors
|
# prevent errors
|
||||||
if threadID is 'new'
|
if threadID is 'new'
|
||||||
threadID = null
|
threadID = null
|
||||||
if g.BOARD.ID is 'vg' and !post.sub
|
if !!g.BOARD.config.require_subject and !post.sub
|
||||||
err = 'New threads require a subject.'
|
err = 'New threads require a subject.'
|
||||||
else unless $.hasClass(d.body, 'text_only') or post.file or (textOnly = !!$ 'input[name=textonly]', $.id 'postForm')
|
else unless !!g.BOARD.config.text_only or post.file
|
||||||
err = 'No file selected.'
|
err = 'No file selected.'
|
||||||
else if g.BOARD.threads[threadID].isClosed
|
else if g.BOARD.threads[threadID].isClosed
|
||||||
err = 'You can\'t reply to this thread anymore.'
|
err = 'You can\'t reply to this thread anymore.'
|
||||||
@ -624,7 +624,6 @@ QR =
|
|||||||
upfile: post.file
|
upfile: post.file
|
||||||
filetag: filetag
|
filetag: filetag
|
||||||
spoiler: post.spoiler
|
spoiler: post.spoiler
|
||||||
textonly: textOnly
|
|
||||||
mode: 'regist'
|
mode: 'regist'
|
||||||
pwd: QR.persona.getPassword()
|
pwd: QR.persona.getPassword()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user