mirror of https://github.com/keeweb/keeweb.git
removed version upgrade warning
This commit is contained in:
parent
acbb36fc46
commit
8550a2fc64
|
@ -63,6 +63,9 @@ const AppSettingsModel = Backbone.Model.extend({
|
|||
if (data.rememberKeyFiles === true) {
|
||||
data.rememberKeyFiles = 'data';
|
||||
}
|
||||
if (data.versionWarningShown) {
|
||||
delete data.versionWarningShown;
|
||||
}
|
||||
},
|
||||
|
||||
save: function() {
|
||||
|
|
|
@ -94,21 +94,6 @@ const OpenView = Backbone.View.extend({
|
|||
});
|
||||
this.inputEl = this.$el.find('.open__pass-input');
|
||||
this.passwordInput.setElement(this.inputEl);
|
||||
|
||||
if (!this.versionWarningShown) {
|
||||
// TODO: remove in v1.5
|
||||
this.versionWarningShown = AppSettingsModel.instance.get('versionWarningShown');
|
||||
if (!this.versionWarningShown) {
|
||||
AppSettingsModel.instance.set('versionWarningShown', true);
|
||||
this.versionWarningShown = true;
|
||||
if (this.model.fileInfos.length) {
|
||||
Alerts.info({
|
||||
header: 'KeeWeb updated',
|
||||
body: 'There was a major update of KeeWeb. Please make sure you have a backup of your password files!'
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue