"Return not in function" error in beforeedit event handler
I added a beforeedit handler to my Cell Editing Plugin so I could return false to stop the edit if certain conditions are not met.
When I add the "return false" line in the code, I see the little red X to the left of the code. If I hover over the X, the tooltip says "Return not in function". The code still works just fine - I'm just not sure why the error/warning is showing up there.