From a77b41c6519188f4f6b6d03023f1dc401407f8c4 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 18 Apr 2016 14:05:24 +0000 Subject: [PATCH] Do not render calendar TODO list if it's on mobile devices --- calendar/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index bf724db96f..7954cd7fe2 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -2090,7 +2090,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend( // Toggle todos if(state.state.view == 'day' || this.state.view == 'day') { - if(state.state.view == 'day' && state.state.owner.length === 1 && !isNaN(state.state.owner) && state.state.owner[0] >= 0) + if(state.state.view == 'day' && state.state.owner.length === 1 && !isNaN(state.state.owner) && state.state.owner[0] >= 0 && !egwIsMobile()) { view.etemplates[0].widgetContainer.iterateOver(function(w) {