Merge pull request #356 from whiteout-io/dev/WO-927

[WO-927] Clear file input after key import
This commit is contained in:
Tankred Hase 2015-06-12 12:20:10 +02:00
commit 9bf8c758ec
1 changed files with 1 additions and 0 deletions

View File

@ -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) {