mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Do not dock/undock mil preview when it's set for vertical pane
This commit is contained in:
parent
ca17161f4a
commit
d8cc92efe4
@ -1047,8 +1047,9 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
mail_disablePreviewArea: function(_value) {
|
||||
var splitter = this.et2.getWidgetById('mailSplitter');
|
||||
var previewPane = this.egw.preference('previewPane', 'mail');
|
||||
// return if there's no splitter we maybe in mobile mode
|
||||
if (typeof splitter == 'undefined' || splitter == null) return;
|
||||
if (typeof splitter == 'undefined' || splitter == null || previewPane == 'vertical') return;
|
||||
let dock = function(){
|
||||
splitter.style.setProperty('--max','100%');
|
||||
splitter.dock();
|
||||
|
Loading…
Reference in New Issue
Block a user