mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +01:00
Never change automatically for just 1 row
This commit is contained in:
parent
a6b38f335e
commit
fd70bdd606
@ -1668,7 +1668,7 @@ var et2_calendar_timegrid = et2_calendar_view.extend([et2_IDetachedDOM, et2_IRes
|
|||||||
|
|
||||||
// If too small, switch to list view automatically
|
// If too small, switch to list view automatically
|
||||||
// Set rather arbitrarily at 180 px.
|
// Set rather arbitrarily at 180 px.
|
||||||
if(this.options.granularity && this.options.height < 180)
|
if(this.options.granularity && rowCount > 1 && this.options.height < 180)
|
||||||
{
|
{
|
||||||
this._parent.iterateOver(function(widget) {
|
this._parent.iterateOver(function(widget) {
|
||||||
if(!widget.disabled) widget.set_granularity(0);
|
if(!widget.disabled) widget.set_granularity(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user