Fix exporting on Firefox. #968

This commit is contained in:
Nicolas Stepien 2013-04-03 18:39:36 +02:00
parent fd587bff22
commit 2be289a0ef

View File

@ -388,9 +388,9 @@ Settings =
a.click()
return
# XXX Firefox won't let us download automatically.
output = @parentNode.nextElementSibling
output.innerHTML = null
$.add output, a
p = $ '.imp-exp-result', Settings.dialog
p.innerHTML = null
$.add p, a
import: ->
@nextElementSibling.click()
onImport: ->