This commit is contained in:
Mayhem 2013-05-12 23:53:15 +02:00
parent efa99a29b0
commit f072e68f6e
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
- Added the option `Tab to Choose Files First`, disabled by default.
## 3.4.0 - *2013-05-06*
- **New feature**: `Archive selection`

View File

@ -61,6 +61,7 @@ Config =
'Hide Original Post Form': [true, 'Hide the normal post form.']
'Cooldown': [true, 'Indicate the remaining time before posting again.']
'Cooldown Prediction': [true, 'Decrease the cooldown time by taking into account upload speed. Disable it if it\'s inaccurate for you.']
'Tab to Choose Files First': [false, 'Tab to the file input before the submit button.']
'Quote Links':
'Quote Backlinks': [true, 'Add quote backlinks.']
'OP Backlinks': [true, 'Add backlinks to the OP.']

View File

@ -819,6 +819,9 @@ QR =
status: $ '[type=submit]', dialog
fileInput: $ '[type=file]', dialog
if Conf['Tab to Choose Files First']
$.add nodes.fileSubmit, nodes.status
# Allow only this board's supported files.
mimeTypes = $('ul.rules > li').textContent.trim().match(/: (.+)/)[1].toLowerCase().replace /\w+/g, (type) ->
switch type