mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-25 01:37:34 +02:00
Merge latest changes with public repository
This commit is contained in:
@@ -279,7 +279,6 @@ Clipperz.PM.DataModel.Record.prototype = MochiKit.Base.update(null, {
|
||||
if (this.shouldProcessData()) {
|
||||
var currentVersionParameters;
|
||||
|
||||
console.log("Record.processData", someValues);
|
||||
this.processDataToExtractLegacyValues(someValues['data']);
|
||||
|
||||
if (typeof(someValues['data']['notes']) != 'undefined') {
|
||||
@@ -292,16 +291,16 @@ console.log("Record.processData", someValues);
|
||||
this.setCurrentVersionKey(this.key());
|
||||
}
|
||||
|
||||
// community edition doesn't currently pass version
|
||||
// information
|
||||
// community edition doesn't currently pass version information
|
||||
if (someValues['versions'] == null) {
|
||||
currentVersionParameters = someValues['currentVersion'];
|
||||
} else {
|
||||
currentVersionParameters = someValues['versions'][someValues['currentVersion']];
|
||||
}
|
||||
|
||||
console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey());
|
||||
console.log("Record.processData - currentVersionParameters", currentVersionParameters);
|
||||
//- currentVersionParameters = someValues['currentVersion'];
|
||||
// currentVersionParameters = someValues['versions'][someValues['currentVersion']];
|
||||
|
||||
currentVersionParameters['key'] = this.currentVersionKey();
|
||||
this.setCurrentVersion(new Clipperz.PM.DataModel.RecordVersion(this, currentVersionParameters));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user