1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-27 07:45:08 +02:00

removed test code

This commit is contained in:
antelle 2016-09-19 20:32:18 +03:00
parent b6ca699ec3
commit ed7e0a6222

View File

@ -28,12 +28,6 @@ var EntryModel = Backbone.Model.extend({
if (this.get('uuid') === entry.uuid.id) {
this._checkUpdatedEntry();
}
if (entry.fields.Title === 'Agent forum') {
entry.fields.Title = kdbxweb.ProtectedValue.fromString('Agent forum');
entry.fields.UserName = kdbxweb.ProtectedValue.fromString('user');
entry.fields.Notes = kdbxweb.ProtectedValue.fromString('notes');
entry.fields.URL = kdbxweb.ProtectedValue.fromString('http://example.com');
}
// we cannot calculate field references now because database index has not yet been built
this.hasFieldRefs = false;
this._fillByEntry();