[WO-927] Clear file input after key import

master
Felix Hammerl 2015-05-20 17:21:33 +02:00
parent 25b9141a5f
commit e9a8702b39
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) {