Following Event Editing example, but id is incorrect
8 years ago.
I have copied the code from the tutorial verbatim, but when I try to edit an event I get an error related to the id.
It is getting passed to the Javascript not as a value, but as script. All of the below is exactly what the id variable contains. What could possibly be causing this? On a side note, if I create a context menu with an "Open" command per that tutorial the Javascript works fine.
function($0k){if(typeof $0k==='undefined'){return e.data.id;}else{this.temp().id=$0k;}}
__proto__:
function() {
[native code]
}
arguments: null
caller: null
length: 1
prototype: {...}
DayPilot