mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Set vertical splitter for mail list if nothing is selected as default
This commit is contained in:
parent
82081eb58a
commit
26c4425e2b
@ -587,6 +587,8 @@ class mail_ui
|
||||
case "fixed":
|
||||
$etpl->setElementAttribute('mailSplitter', 'orientation', 'h');
|
||||
break;
|
||||
default:
|
||||
$etpl->setElementAttribute('mailSplitter', 'orientation', 'v');
|
||||
}
|
||||
return $etpl->exec('mail.mail_ui.index',$content,$sel_options,$readonlys,$preserv);
|
||||
}
|
||||
@ -2243,7 +2245,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
$ab = new addressbook_bo();
|
||||
$response->data($ab->set_smime_keys(array($_metadata['email'] => $_metadata['cert'])));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generates certificate base on given data and send
|
||||
* private key, pubkey and certificate back to client callback.
|
||||
@ -2262,7 +2264,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
{
|
||||
if (empty($_data[$key]) || in_array($key, $discards)) unset($_data[$key]);
|
||||
}
|
||||
$response->data($smime->generate_certificate($_data, $ca, $passphrase));
|
||||
$response->data($smime->generate_certificate($_data, $ca, null, $passphrase));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -168,8 +168,8 @@ app.classes.mail = AppJS.extend(
|
||||
var nm = this.et2.getWidgetById(this.nm_index);
|
||||
this.mail_isMainWindow = true;
|
||||
var previewPane = this.egw.preference('previewPane', 'mail');
|
||||
this.mail_disablePreviewArea(previewPane !== 'fixed' && previewPane !== 'vertical');
|
||||
if (previewPane == 'vertical') nm.header.right_div.addClass('vertical_splitter');
|
||||
this.mail_disablePreviewArea(previewPane !== 'fixed' && previewPane !== 'vertical' && previewPane == true);
|
||||
if (previewPane == 'vertical' || previewPane != true) nm.header.right_div.addClass('vertical_splitter');
|
||||
//Get initial folder status
|
||||
this.mail_refreshFolderStatus(undefined,undefined,false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user