Diffstat (limited to 'frontend/beta/js/Clipperz/PM/DataModel/Record.js') (more/less context) (show whitespace changes)
-rw-r--r-- | frontend/beta/js/Clipperz/PM/DataModel/Record.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/beta/js/Clipperz/PM/DataModel/Record.js b/frontend/beta/js/Clipperz/PM/DataModel/Record.js index 270f2ae..ffb45de 100644 --- a/frontend/beta/js/Clipperz/PM/DataModel/Record.js +++ b/frontend/beta/js/Clipperz/PM/DataModel/Record.js @@ -281,2 +281,3 @@ Clipperz.PM.DataModel.Record.prototype = MochiKit.Base.update(null, { +console.log("Record.processData", someValues); this.processDataToExtractLegacyValues(someValues['data']); @@ -286,2 +287,3 @@ Clipperz.PM.DataModel.Record.prototype = MochiKit.Base.update(null, { } + if (someValues['data']['currentVersionKey'] != null) { @@ -292,3 +294,6 @@ Clipperz.PM.DataModel.Record.prototype = MochiKit.Base.update(null, { - currentVersionParameters = someValues['currentVersion']; +// currentVersionParameters = someValues['currentVersion']; + currentVersionParameters = someValues['versions'][someValues['currentVersion']]; +console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey()); +console.log("Record.processData - currentVersionParameters", currentVersionParameters); currentVersionParameters['key'] = this.currentVersionKey(); |