Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prashant on Dec 16, 2009 02:11
open dhtmlx forum
disabling the log

How cal I disable the log in dhtmlSchedular without removing the debug.js?
Answer posted by Alex (support) on Dec 16, 2009 02:15

To disable log you can try to remove enable_log method call in the server-side script:

//$scheduler->enable_log("log.txt",true);

Answer posted by Prashant on Dec 20, 2009 03:42
I have disabled the mentioned server side script but client side validation box is still poping up. and when I removed the dhtmlxscheduler_debug.js files from the include list, I am unable to invoke onEventSave event validations. How to disable the client side logging without interrupting the event call stack. I am attaching the example hereby. please have a look @ it.

-Prashant
Attachments (1)
Answer posted by Prashant on Dec 20, 2009 22:37
I got the culprit. I have attached the file.
Attachments (1)
Answer posted on Dec 21, 2009 01:00

the error message can appear if you try to load incorrect xml. To disable this method you can use the following approach:

dhtmlxError.catchError("LoadXML",function(type, name, data){});