some comments

This commit is contained in:
James B. Pollack 2016-08-25 16:27:58 -07:00
parent 9be073cc12
commit ee190db5eb
2 changed files with 3 additions and 0 deletions

View file

@ -1423,6 +1423,7 @@ var PropertiesTool = function (opts) {
pushCommandForSelections();
selectionManager._update();
} else if(data.type === 'saveUserData'){
//the event bridge and json parsing handle our avatar id string differently.
var actualID = data.id.split('"')[1]
var success = Entities.editEntity(actualID, data.properties)
} else if (data.type === "showMarketplace") {

View file

@ -758,9 +758,11 @@ function loaded() {
} else {
properties = data.selections[0].properties;
if (lastEntityID !== '"' + properties.id + '"' && lastEntityID !== null && editor !== null) {
saveJSONUserData(true);
}
//the event bridge and json parsing handle our avatar id string differently.
lastEntityID = '"' + properties.id + '"';
elID.innerHTML = properties.id;