From aee540d7bbc015024088c5a2eac1ed8392ce7855 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 27 Apr 2016 22:50:56 +0000 Subject: [PATCH] Stop extra nextmatch refresh when refreshing calendar app --- calendar/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index e598956c13..cc5b89aedf 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -318,6 +318,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend( // Force redraw to current state this.setState({state: this.state}); + return false; } break; } @@ -2119,7 +2120,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend( } },this, et2_calendar_view); } - else + else if(state.state.view !== 'listview') { // Simple, easy case - just one widget for the selected time span. (planner) // Update existing view's special attribute filters, defined in the view list