mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
46f9b1ebd7
commit
731ccd92a9
@ -19,7 +19,7 @@ def upload_files_widget(container, proceed, msg, single_file=False, accept_exten
|
|||||||
if callable(proceed) and files.length:
|
if callable(proceed) and files.length:
|
||||||
proceed(container_id, files)
|
proceed(container_id, files)
|
||||||
|
|
||||||
msg = msg or _('Upload books by <a>selecting the book files</a> or drag and drop of the files here')
|
msg = msg or _('Upload books by either <a>selecting the book files</a> or drag and drop the files here')
|
||||||
c = E.div(E.span(), E.input(type='file', style='display:none', onchange=files_selected))
|
c = E.div(E.span(), E.input(type='file', style='display:none', onchange=files_selected))
|
||||||
if not single_file:
|
if not single_file:
|
||||||
c.lastChild.setAttribute('multiple', 'multiple')
|
c.lastChild.setAttribute('multiple', 'multiple')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user