Do not render calendar TODO list if it's on mobile devices

This commit is contained in:
Hadi Nategh 2016-04-18 14:05:24 +00:00
parent 0ba271d581
commit a77b41c651

View File

@ -2090,7 +2090,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
// Toggle todos // Toggle todos
if(state.state.view == 'day' || this.state.view == 'day') 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) { view.etemplates[0].widgetContainer.iterateOver(function(w) {