1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 23:03:15 +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
})();