I am adding new logic to Affiliate module from MageStore.
I want add MassAction for enabling/disabling coupons code in accounts. But when I add method _prepareMassaction, I have error when try disable coupon:
Uncaught ReferenceError: couponGrid_massactionJsObject is not defined is not defined
Best Answer
Add below in Grid block of your module where you are facing the issue.