mirror of
https://github.com/moparisthebest/mail
synced 2024-11-21 08:34:59 -05:00
Merge pull request #356 from whiteout-io/dev/WO-927
[WO-927] Clear file input after key import
This commit is contained in:
commit
9bf8c758ec
@ -8,6 +8,7 @@ ngModule.directive('keyfileInput', function() {
|
||||
for (var i = 0; i < e.target.files.length; i++) {
|
||||
importKey(e.target.files.item(i));
|
||||
}
|
||||
elm.val(null); // clear input
|
||||
});
|
||||
|
||||
function importKey(file) {
|
||||
|
Loading…
Reference in New Issue
Block a user