My code:
<DayPilot:MenuItem Text="Delete" Action="JavaScript" Command='Delete' JavaScript="if (confirm('Delete ' + e.text() + ' ?')) dps1.eventMenuClickCallBack(e, command);"></DayPilot:MenuItem>
Js: Error: 'command' is undefined.
Error also on http://www.daypilot.org/demo/Scheduler/