From a1e61f8a09bcc3925ed04a5d62701bc87f5e723c Mon Sep 17 00:00:00 2001 From: Christoph Schaefer Date: Tue, 21 Aug 2012 18:59:36 +0200 Subject: [PATCH] chrsch - Fixed missing record._metadata implementation needed to use joli.js together with joli.api.js --- joli.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/joli.js b/joli.js index 430a1bb..429cbdf 100644 --- a/joli.js +++ b/joli.js @@ -747,6 +747,7 @@ var joliCreator = function() { table: table }; this._data = {}; + this._metadata = {}; }; joli.record.prototype = { @@ -796,7 +797,8 @@ var joliCreator = function() { }, save: function() { var data = { - data: this._data + data: this._data, + metadata: this._metadata }; if (this.isChanged()) {