diff --git a/core/modules/rendertree/renderers/macrocall.js b/core/modules/rendertree/renderers/macrocall.js index 0ae7ec203..1b9cfb3ca 100644 --- a/core/modules/rendertree/renderers/macrocall.js +++ b/core/modules/rendertree/renderers/macrocall.js @@ -51,6 +51,15 @@ MacroCallRenderer.prototype.renderInDom = function() { return this.domNode; }; +MacroCallRenderer.prototype.refreshInDom = function(changedTiddlers) { + // Refresh any child nodes + $tw.utils.each(this.children,function(node) { + if(node.refreshInDom) { + node.refreshInDom(changedTiddlers); + } + }); +}; + exports.macrocall = MacroCallRenderer })();