forked from extern/egroupware
Do not render calendar TODO list if it's on mobile devices
This commit is contained in:
parent
0ba271d581
commit
a77b41c651
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user