How-To: Remove debugging (Scheduler)

Asked by Richard
9 years ago.

Hi,

How can I remove / disable the debugging option on the scheduler, so that it doesn't write to the console. This is causing quite allot of lag on the rest of the page, especially this event:

gKeyUp: keyCode=<key code>

Thanks!
Comment posted by Richard
9 years ago.

So this is what is causing the output to the console:

    DayPilotScheduler.gKeyUp = function(ev) {
        if (window.console) {
            window.console.log("gKeyUp: keyCode=" + ev.keyCode);
        }
        ;var ev = ev || window.event;
        var $6m = ev.keyCode;
        if ($6m === 17) {
            if (DayPilotScheduler.rangeCalendar) {
                var $k = DayPilotScheduler.rangeCalendar;
                $k.$gQ.dispatch();
            }
        }
    }
Comment posted by Richard
9 years ago.

Thanks Dan - updated to new sandbox version. For recipients that have a paid pro version, when can we expect to get a new build?

Thanks!

Comment posted by Dan Letecky [DayPilot]
9 years ago.

The next release (8.3) is scheduled for next week.

Comment posted by Richard
9 years ago.

Thanks Dan

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.