select 'auto' when attaching multiple files
This commit is contained in:
parent
2f7a515621
commit
0d192a6971
@ -1387,6 +1387,7 @@
|
||||
},
|
||||
add: function() {
|
||||
var file, files;
|
||||
$('#auto', qr.el).checked = true;
|
||||
file = $.el('input', {
|
||||
type: 'file',
|
||||
name: 'upfile'
|
||||
|
||||
@ -1098,6 +1098,7 @@ qr =
|
||||
$('input[name=pwd]', qr.el).value = if m = c.match(/4chan_pass=([^;]+)/) then decodeURIComponent m[1] else $('input[name=pwd]').value
|
||||
|
||||
add: ->
|
||||
$('#auto', qr.el).checked = true
|
||||
file = $.el 'input', type: 'file', name: 'upfile'
|
||||
files = $ '#files', qr.el
|
||||
$.append files, file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user