search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How-To: Remove debugging (Scheduler)

Asked by Richard
7 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
7 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();
            }
        }
    }
Answer posted by Dan Letecky [DayPilot]
7 years ago.

This was a temporary issue of the sandbox build. The latest sandbox build doesn't print it anymore (8.2.2396):

http://javascript.daypilot.org/sandbox/scheduler/

Comment posted by Richard
7 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]
7 years ago.

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

Comment posted by Richard
7 years ago.

Thanks Dan

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