fix error stalling calendar edit

This commit is contained in:
Ralf Becker 2015-07-12 19:47:46 +00:00
parent 01939c6bf6
commit 928a697eb8

View File

@ -1284,7 +1284,7 @@ app.classes.calendar = AppJS.extend(
}
// Make sure date is consitantly a string, in case it needs to be passed to server
if(state.date.toJSON)
if(state.date)
{
state.state = state.date.toJSON();
}