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
    Posts
    315
    Vote Rating
    3
    azuroff will become famous soon enough

      0  

    Default "Return not in function" error in beforeedit event handler

    "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 - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,083
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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
    @aconran
    Sencha Architect Development Team

Thread Participants: 1