Hello Jeremy,
Thank you for helping me so much,
This is how the refresh function looks now and it still not working. It
only refresh when I edit the tiddler where the widget is being used. Looks
like it only refresh the parameters with the execute function. I think I'm
missing something.
packAsPlugin.prototype.refresh = function (changedTiddlers) {
var changedAttributes = this.computeAttributes();
console.log(this.computeAttributes());
if(changedAttributes.tiddler || changedAttributes.name ||
changedAttributes.description || changedAttributes.author) {
this.refreshSelf();
return true;
} else {
return this.refreshChildren(changedTiddlers);
}
};
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.