Closed andrelopez closed 6 years ago
Hi folks!
I'm trying to call/listen onAfterAction from my class that extends Garnish.Base.extend({ ...
Garnish.Base.extend({ ...
If that possible? I just need to call: Craft.elementIndex.updateElements(); after an custom element action is finished.
Craft.elementIndex.updateElements();
Thanks in advance.
FYI: Craft3 environment
I have solved the issue listening the afterAction function
afterAction
Craft.elementIndex.on('afterAction', this.manageAfter);
Glad you figured it out!
Hi folks!
I'm trying to call/listen onAfterAction from my class that extends
Garnish.Base.extend({ ...
If that possible? I just need to call:
Craft.elementIndex.updateElements();
after an custom element action is finished.Thanks in advance.
FYI: Craft3 environment