diff --git a/calendar/js/app.js b/calendar/js/app.js index fbcde75cbc..f1d8d2e097 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -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(); }