1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    40
    Vote Rating
    0
    n01champion is on a distinguished road

      0  

    Default checkHandler is calling passed function 2 times

    checkHandler is calling passed function 2 times


    checkHandler is calling my passed function 2 times

    First Time: when it unchecks the previous checked item
    Second: on checked item

    I am having a problem with this because my function which retrieves the aregument 'item' is getting the previous checked item data and not the item that has been checked

    Here is my console log to prove it:

    (1st) Object id=DE text=Default/All checked=false group=piecetype

    (function doing post) POST http://172.18.17.158/~marvin/working..._sequences.php

    (2nd) Object id=LT text=Letters group=piecetype events=Object

    Is there any type of work around for this?

    Thanks

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    The second parameter is a boolean indicating whether it was a check or uncheck.

Similar Threads

  1. How to refer to a Function 1 Image() Array in Function 2?
    By Bobafart in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 24 Feb 2007, 8:33 PM
  2. Renaming params passed when sort is done server side.
    By Stubbs in forum Ext 1.x: Help & Discussion
    Replies: 11
    Last Post: 5 Dec 2006, 9:33 PM
  3. correct value not being passed
    By Slapyo in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 30 Nov 2006, 4:40 PM
  4. Calling Function from Dialog
    By ameikle in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 5 Nov 2006, 3:40 AM

Thread Participants: 1