I have created a calendar and attached a restdatasource.
With this I am able to add and fetch events from the server.
When it comes to editing an event by dragging the date, I experience a javascript error after the server has received the data.
- No other errors reported in the developers console.
I am not overriding any of the eventupdate functions.
The server returns:
Where TIMESLOTID is the primaryKey.
I have also tried returning the following response but experience the same problem.
With this I am able to add and fetch events from the server.
When it comes to editing an event by dragging the date, I experience a javascript error after the server has received the data.
Code:
10:04:52.471:XRP8:WARN:Log:TypeError: _3.dataSource.getLocalPrimaryKeyFields is not a function
I am not overriding any of the eventupdate functions.
The server returns:
Code:
<response> <status>success</status> <message>Event Update</message> <data> <record> <TIMESLOTID>275</TIMESLOTID> <SESSIONID>291</SESSIONID> <name>asddasf</name> <TIMESLOTVENUE>6</TIMESLOTVENUE> <SESSIONTYPEID>42</SESSIONTYPEID> <TIMESLOTSTART>2009-07-14T13:30:00</TIMESLOTSTART> <TIMESLOTEND>2009-07-14T15:15:00</TIMESLOTEND> </record> </data> </response>
I have also tried returning the following response but experience the same problem.
Code:
<response> <status>success</status> <message>Event Update</message> </response>
Comment