View Full Version : checkHandler is calling passed function 2 times

23 Feb 2007, 7:55 AM
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

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

Is there any type of work around for this?


23 Feb 2007, 2:00 PM
The second parameter is a boolean indicating whether it was a check or uncheck.