Clear settings import file input so selecting the same file twice works.
This commit is contained in:
parent
b1e095d18a
commit
fed0892179
@ -165,6 +165,7 @@ Settings =
|
|||||||
|
|
||||||
onImport: ->
|
onImport: ->
|
||||||
return unless file = @files[0]
|
return unless file = @files[0]
|
||||||
|
@value = null
|
||||||
output = $('.imp-exp-result')
|
output = $('.imp-exp-result')
|
||||||
unless confirm 'Your current settings will be entirely overwritten, are you sure?'
|
unless confirm 'Your current settings will be entirely overwritten, are you sure?'
|
||||||
output.textContent = 'Import aborted.'
|
output.textContent = 'Import aborted.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user