Dhtmlxcolorpicker setOnCancelHandler not working

Hello,
when I try to add onCancel event handler to colorpicker object,

cp.setOnCancelHandler(function(){
      alert(“hello”);
 });
   
I get the following error.
second argument to Function.prototype.apply must be an array
localhost:1397/dhtmlxSuite/dhtml … xcommon.js
Line 89



Hello,


the issue wasn’t reproduced locally - the sample is attached


1248164520.zip (55 KB)