1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Fix issue with child nodes of macro call not being refreshed

This commit is contained in:
Jeremy Ruston 2013-07-03 15:59:09 +01:00
parent 4f9649f5ac
commit 6299026407

View File

@ -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
})();