Make 'Display Upload Progress' optional.
This commit is contained in:
parent
50c148be10
commit
1c4f49120e
@ -662,7 +662,8 @@ QR =
|
|||||||
) %>
|
) %>
|
||||||
extra =
|
extra =
|
||||||
form: $.formData formData
|
form: $.formData formData
|
||||||
upCallbacks:
|
if Conf['Show Upload Progress']
|
||||||
|
extra.upCallbacks =
|
||||||
onload: ->
|
onload: ->
|
||||||
# Upload done, waiting for server response.
|
# Upload done, waiting for server response.
|
||||||
QR.req.isUploadFinished = true
|
QR.req.isUploadFinished = true
|
||||||
|
|||||||
@ -461,6 +461,11 @@ Config =
|
|||||||
'Show the classic name, email, and subject fields in the QR, even when 4chan doesn\'t use them all.'
|
'Show the classic name, email, and subject fields in the QR, even when 4chan doesn\'t use them all.'
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
|
'Show Upload Progress': [
|
||||||
|
true
|
||||||
|
'Track progress of file uploads as percentage in submit button.'
|
||||||
|
1
|
||||||
|
]
|
||||||
'Cooldown': [
|
'Cooldown': [
|
||||||
true
|
true
|
||||||
'Indicate the remaining time before posting again.'
|
'Indicate the remaining time before posting again.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user