Skip to content

Commit

Permalink
fix(browserAction): Quick Upload retry via explicit file input
Browse files Browse the repository at this point in the history
If someone cancels file picker via Escape key, it is now possible to resume via form input
  • Loading branch information
lidel committed Feb 26, 2017
1 parent 040444d commit 13d1921
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion add-on/src/popup/quick-upload.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<html>

<head>
<title>IPFS Upload</title>
<meta charset="utf-8">
<link rel="stylesheet" href="browser-action.css"/>
</head>

<body>
<img src="../../icons/ipfs-logo-on.svg" id="icon"/>
<p>
<span id="quickUploadMessage" data-i18n="panel_quick-upload"></span><input type="file" id="quickUploadInput" style="display: none" />
<span id="quickUploadMessage" data-i18n="panel_quick-upload"></span><br>
<input type="file" id="quickUploadInput" />
</p>
<script src="../lib/data-i18n.js"></script>
<script src="../lib/npm/buffer.js"></script>
Expand Down

0 comments on commit 13d1921

Please sign in to comment.