If weekend is not explicitly off, set it to on

This commit is contained in:
Nathan Gray 2015-11-06 18:42:39 +00:00
parent d24d7ceb42
commit e611d52f8e

View File

@ -1599,6 +1599,10 @@ app.classes.calendar = AppJS.extend(
{ {
state.state.date = new Date(); state.state.date = new Date();
} }
if(typeof state.state.weekend == 'undefined')
{
state.state.weekend = true;
}
// Hide other views // Hide other views
var view = app.classes.calendar.views[state.state.view]; var view = app.classes.calendar.views[state.state.view];