repo: janusweb action: commit revision: path_from: revision_from: 35b1642d606300f7ca51977b42de8c600e8ba04e: path_to: revision_to:
commit 35b1642d606300f7ca51977b42de8c600e8ba04e Author: James BaicoianuDate: Thu Apr 20 01:37:52 2017 -0700 Fix for object syncing diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -671,6 +671,11 @@ elation.require([
existing[objkeys[j]] = newobj[objkeys[j]];
}
}
+ // If the node has a _content attribute, determine the attribute name by looking at the tag name
+ if (newobj._content) {
+ var attrname = k.toLowerCase();
+ existing[attrname] = newobj._content;
+ }
} else {
hasNew = true;
newobj.sync = false;
-----END OF PAGE-----