I would like to add a confirmation prompt when vendors (and maybe also admins) change the status of a product between active/disabled/hidden.
This menu appears under the products.manage view.
My first attempt was to simply add a "cm-confirm" to the '' link within the options. This DOES work (functionally speaking), however when the user selects 'Cancel' it visually still changes (although the status change is not applied).
I assume this is because the return of
works only by changing the label to what it should be from what it currently is, regardless of wether the user confirmed or canceled this change.
Any ideas on how to fix this?