mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 05:01:12 +01:00
No need for special handling for mail spliter for mobile devices as we do not use spliter anymore for them
This commit is contained in:
parent
064af42728
commit
7ed6c43459
@ -395,19 +395,6 @@
|
|||||||
{
|
{
|
||||||
this.arrangeToolbar(this.isLandscape()?'landscape':'portrait');
|
this.arrangeToolbar(this.isLandscape()?'landscape':'portrait');
|
||||||
|
|
||||||
//Mail splitter needs to be docked after oriantation
|
|
||||||
if (this.activeApp.appName === 'mail' && egwIsMobile())
|
|
||||||
{
|
|
||||||
var splitter = etemplate2?etemplate2.getByApplication('mail')[0].widgetContainer.getWidgetById('mailSplitter'):false;
|
|
||||||
if (splitter)
|
|
||||||
{
|
|
||||||
splitter.undock();
|
|
||||||
//Try to make sure that the docking happens after the mail index rendered by browser
|
|
||||||
setTimeout(function(){
|
|
||||||
splitter.dock();
|
|
||||||
},500);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user