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

[Issue] DayPilot Month fires error "NotFoundError: Node was not found"

Asked by Thomas
7 years ago.

Hi DayPilot team,
I'm using DayPilot Month to create my Working timesheet on Month
I use the event "onTimeRangeSelected" and integerate a modal form from jsPanel.de
after I create several data, the problem happens , it does not happens at the first time.

and I face error "NotFoundError: Node was not found".

I attach my script as the following file.

I would appreciate if you can help me.
Thanks in advance,
Thomas

Answer posted by Thomas
7 years ago.

Hi all,
after a hour, I anwsered by myself.
Here is my solution:

dpm.onTimeRangeSelected = function (args) {
dpm.clearSelection();
args.preventDefault();
}

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