Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jay on Jul 20, 2009 17:56
open dhtmlx forum
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
http://localhost:1397/dhtmlxSuite/dhtmlxColorPicker/codebase/dhtmlxcommon.js
Line 89


Answer posted by Alex (support) on Jul 21, 2009 01:16

Hello,

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

Attachments (1)