-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
if (!EditAgent.isEditing) { | ||
// only update the DOM if the change was not caused by the edit agent | ||
Inspector.DOM.setNodeValue(node.nodeId, node.value); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid changes that occur from the editor on the remote site to propagate back there, the DOMAgent must not push any changed node values if they have come from there (through the EditAgent).
@jdiehl thanks again for submitting this. It's definitely something we want to get into master. I'm going to wait until after our Sept 24 milestone to review it and get it merged. (And, incidentally, after your Sept 19 milestone too...) |
Sorry it has taken so long to get to this request. I didn't test the experimental functionality, but I did verify that the non-experimental features still work. The code in RemoteFunctions.js is much cleaner now - thanks! Merging. |
This pull request is a complete rewrite of RemoteFunctions.js that makes it more efficient and introduces a much better node editor.