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

Uncaught String expected Error when export shceduler to jpeg

Asked by Sarah
4 years ago.

I find this error when I try to export the scheduler as a jpeg image : Uncaught String expected at daypilot.all.min.js
My code is very simple: dp.exportAs("jpeg", { area: "viewport" }).toElement();

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


Can you please post the error stack trace?

Comment posted by Sarah
4 years ago.

the stack trace of the error:
daypilot-all.min.js:10 Uncaught String expected
text @ daypilot-all.min.js:10
(anonymous) @ daypilot-all.min.js:26
a.each @ daypilot-all.min.js:9
(anonymous) @ daypilot-all.min.js:26
a.each @ daypilot-all.min.js:9
m.generate @ daypilot-all.min.js:26
exportAs @ daypilot-all.min.js:25
(anonymous) @ VM1225:26
dispatch @ jquery-2.2.4.js:4737
elemData.handle @ jquery-2.2.4.js:4549

Answer posted by Dan Letecky [DayPilot]
4 years ago.
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.