Improve comments

As per @pmario's comment at 582b156d5f (commitcomment-51566608)
publishing-framework
jeremy@jermolene.com 2021-06-01 11:49:05 +01:00
rodzic 9faaa31299
commit 55c522ab8f
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -569,8 +569,9 @@ Widget.prototype.invokeActions = function(triggeringWidget,event) {
// For each child widget
for(var t=0; t<this.children.length; t++) {
var child = this.children[t];
// Invoke the child if it is an action widget
// Rerender the child to ensure the attribute values are up to date
child.refreshSelf();
// Invoke the child if it is an action widget
if(child.invokeAction) {
if(child.invokeAction(triggeringWidget,event)) {
handled = true;