You get a javascript error 'Object doesn't support this property or method' from this line in Scheduler.js in the onResClick method:
var r = this.createDayPilotResource($p);
this would seem to be because the 'this' instance is not actually pointing at an instance of the Scheduler at the time.
any fixes/workarounds most welcome.