mirror of https://github.com/keeweb/keeweb.git
remove limitation for extensions
This commit is contained in:
parent
9283da9387
commit
73b51c2dae
2
TODO.md
2
TODO.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
## v0.2
|
||||
- [x] support non-xml keyfiles
|
||||
- [ ] remove limitation for extensions
|
||||
- [x] remove limitation for extensions
|
||||
- [ ] use WebCrypto
|
||||
|
||||
## v1.0
|
||||
|
|
|
@ -69,7 +69,7 @@ var OpenFileView = Backbone.View.extend({
|
|||
this.keyFileData = null;
|
||||
this.model.set('keyFileName', '');
|
||||
} else {
|
||||
this.openAny('keyFileData', '.key');
|
||||
this.openAny('keyFileData');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -77,7 +77,7 @@ var OpenFileView = Backbone.View.extend({
|
|||
openAny: function(reading, ext) {
|
||||
this.reading = reading;
|
||||
this[reading] = null;
|
||||
this.$el.find('.open__file-ctrl').attr('accept', ext).click();
|
||||
this.$el.find('.open__file-ctrl').attr('accept', ext || '').click();
|
||||
},
|
||||
|
||||
resetFile: function() {
|
||||
|
|
Loading…
Reference in New Issue