Stop extra nextmatch refresh when refreshing calendar app

This commit is contained in:
Nathan Gray 2016-04-27 22:50:56 +00:00
parent ad4e9f6770
commit aee540d7bb

View File

@ -318,6 +318,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
// Force redraw to current state // Force redraw to current state
this.setState({state: this.state}); this.setState({state: this.state});
return false;
} }
break; break;
} }
@ -2119,7 +2120,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
} }
},this, et2_calendar_view); },this, et2_calendar_view);
} }
else else if(state.state.view !== 'listview')
{ {
// Simple, easy case - just one widget for the selected time span. (planner) // Simple, easy case - just one widget for the selected time span. (planner)
// Update existing view's special attribute filters, defined in the view list // Update existing view's special attribute filters, defined in the view list