mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-06 01:26:49 +00:00
Add a comment on the default value of tv-action-refresh-policy
This commit is contained in:
@@ -570,7 +570,7 @@ Widget.prototype.invokeActions = function(triggeringWidget,event) {
|
||||
for(var t=0; t<this.children.length; t++) {
|
||||
var child = this.children[t],
|
||||
childIsActionWidget = !!child.invokeAction,
|
||||
actionRefreshPolicy = child.getVariable("tv-action-refresh-policy");
|
||||
actionRefreshPolicy = child.getVariable("tv-action-refresh-policy"); // Default is "once"
|
||||
// Refresh the child if required
|
||||
if(childIsActionWidget || actionRefreshPolicy === "always") {
|
||||
child.refreshSelf();
|
||||
|
||||
Reference in New Issue
Block a user