mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 22:33:50 +00:00
Revert 582b156d5f2b9b8b92f9289aa1288e1edb637450: Refresh non-action widgets before invocation
This commit is contained in:
parent
753bf8fe62
commit
056e6541a1
@ -569,10 +569,9 @@ Widget.prototype.invokeActions = function(triggeringWidget,event) {
|
|||||||
// For each child widget
|
// For each child widget
|
||||||
for(var t=0; t<this.children.length; t++) {
|
for(var t=0; t<this.children.length; t++) {
|
||||||
var child = this.children[t];
|
var child = this.children[t];
|
||||||
// Rerender the child to ensure the attribute values are up to date
|
|
||||||
child.refreshSelf();
|
|
||||||
// Invoke the child if it is an action widget
|
// Invoke the child if it is an action widget
|
||||||
if(child.invokeAction) {
|
if(child.invokeAction) {
|
||||||
|
child.refreshSelf();
|
||||||
if(child.invokeAction(triggeringWidget,event)) {
|
if(child.invokeAction(triggeringWidget,event)) {
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user