Don't import files that didn't decrypt properly

This commit is contained in:
Mo Bitar
2017-10-15 17:58:54 -05:00
parent 0838f927ab
commit cd42ef3132
4 changed files with 33 additions and 12 deletions

View File

@@ -149,7 +149,7 @@
%input{"type" => "radio", "ng-model" => "archiveFormData.encrypted", "ng-value" => "false", "ng-change" => "archiveFormData.encrypted = false"}
Decrypted
%a.block.mt-5{"ng-click" => "downloadDataArchive()", "ng-class" => "{'mt-5' : !user}"} Download Data Archive
%a.block.mt-5{"ng-click" => "downloadDataArchive()", "ng-class" => "{'mt-5' : !user}"} Export Data Archive
%label.block.mt-5
%input{"type" => "file", "style" => "display: none;", "file-change" => "->", "handler" => "importFileSelected(files)"}