Fix mail splitter loses its last stored height value after browsing with mobile theme

This commit is contained in:
Hadi Nategh 2014-12-17 12:02:01 +00:00
parent cf83860864
commit 215289a5f5
3 changed files with 2 additions and 7 deletions

View File

@ -607,7 +607,8 @@ app.classes.mail = AppJS.extend(
//this.et2.getWidgetById('mailPreviewHeadersDate').set_disabled(_value);
//this.et2.getWidgetById('mailPreviewHeadersSubject').set_disabled(_value);
this.et2.getWidgetById('mailPreview').set_disabled(_value);
if (_value==true)
//Dock the splitter always if we are browsing with mobile
if (_value==true || egwIsMobile())
{
if (this.mail_previewAreaActive) splitter.dock();
this.mail_previewAreaActive = false;

View File

@ -798,9 +798,6 @@ blockquote blockquote blockquote blockquote blockquote blockquote{
/* MOBILE and tablets (Portrait & Landscape) View --------------*/
@media only screen and (max-device-width:1024px) {
div#mail-index_nm {
height: 100% !important;
}
/*Disable the preview spliter*/
div#mail-index_mailPreview, div.splitter-bar {
display: none !important;

View File

@ -791,9 +791,6 @@ blockquote blockquote blockquote blockquote blockquote blockquote {
}
/* MOBILE and tablets (Portrait & Landscape) View --------------*/
@media only screen and (max-device-width: 1024px) {
div#mail-index_nm {
height: 100% !important;
}
/*Disable the preview spliter*/
div#mail-index_mailPreview,
div.splitter-bar {