diff --git a/mongodata.js b/mongodata.js index b0f30d4..dafdfc0 100644 --- a/mongodata.js +++ b/mongodata.js @@ -229,8 +229,10 @@ module.exports = function (db, config) { config.debug && console.log('getMongoAttribute found lost attribute, reconnect'); if (result[options.attribute]) { result[options.attribute].guid = attribute_result._id; + // TODO: make same change on sharedoc. } else { result[options.attribute] = { guid: attribute_result._id }; + // TODO: make same change on sharedoc. } return saveData(col, result, callback); @@ -250,6 +252,7 @@ module.exports = function (db, config) { config.errors && console.log('ERR3 setMongoAttribute', err); } result[options.attribute] = { guid: attribute_result._id }; + // TODO: make same change on sharedoc. return saveData(col, result, callback); }) } diff --git a/public/index.html b/public/index.html index e5ebdc2..d1b0219 100644 --- a/public/index.html +++ b/public/index.html @@ -15,7 +15,7 @@ { "editorId": "editor", "mapping" : { - "ignore": ["name", "version"] + "ignore": ["version"] } }, "navigation": @@ -60,19 +60,18 @@