Results 1 to 2 of 2

Thread: "Return not in function" error in beforeedit event handler

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1356 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2009
    Vote Rating

    Default "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.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Vote Rating


    azuroff -

    You can safely ignore this warning. This is a bug that we need to fix but will not affect your project in any way.
    Aaron Conran

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts