mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Mail: Fix adding file share via download link into an already open mail does not always work
Select options were not right, and sometimes the updated value would be reset by the browser
This commit is contained in:
parent
4248a85665
commit
0d8aba3e69
@ -991,14 +991,15 @@ app.classes.mail = AppJS.extend(
|
|||||||
if (content[field]['files'] && content[field]['files']['filemode']
|
if (content[field]['files'] && content[field]['files']['filemode']
|
||||||
&& filemode && filemode.get_value() != content[field]['files']['filemode'])
|
&& filemode && filemode.get_value() != content[field]['files']['filemode'])
|
||||||
{
|
{
|
||||||
var filemode_label = filemode.options.select_options.filter(_item => {
|
var filemode_label = filemode.select_options.filter(_item =>
|
||||||
return _item.value == content[field]['files']['filemode']
|
{
|
||||||
|
return _item.value == content[field]['files']['filemode']
|
||||||
})[0]['label'];
|
})[0]['label'];
|
||||||
Et2Dialog.show_dialog(function (_button)
|
Et2Dialog.show_dialog(function (_button)
|
||||||
{
|
{
|
||||||
if (_button == Et2Dialog.YES_BUTTON)
|
if (_button == Et2Dialog.YES_BUTTON)
|
||||||
{
|
{
|
||||||
compose_et2[0].widgetContainer._inst.submit();
|
compose_et2[0].submit();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
this.egw.lang(
|
this.egw.lang(
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<et2-checkbox statustext="check to receive a notification when the message is read (note: not all clients support this and/or the receiver may not authorize the notification)" id="disposition" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
<et2-checkbox statustext="check to receive a notification when the message is read (note: not all clients support this and/or the receiver may not authorize the notification)" id="disposition" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
||||||
<et2-checkbox statustext="check to sign the message on send" id="smime_sign" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
<et2-checkbox statustext="check to sign the message on send" id="smime_sign" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
||||||
<et2-checkbox statustext="check to encrypt the message on send" id="smime_encrypt" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
<et2-checkbox statustext="check to encrypt the message on send" id="smime_encrypt" selectedValue="on" unselectedValue="off" ></et2-checkbox>
|
||||||
<et2-textbox id="appendix_data"></et2-textbox>
|
<et2-textbox id="appendix_data" autocomplete="off"></et2-textbox>
|
||||||
<et2-password id="smime_passphrase"></et2-password>
|
<et2-password id="smime_passphrase"></et2-password>
|
||||||
<et2-select id="to_integrate_ids" multiple="true" allowFreeEntries="true" editModeEnabled="true" searchUrl="EGroupware\Api\Etemplate\Widget\Taglist::ajax_search"></et2-select>
|
<et2-select id="to_integrate_ids" multiple="true" allowFreeEntries="true" editModeEnabled="true" searchUrl="EGroupware\Api\Etemplate\Widget\Taglist::ajax_search"></et2-select>
|
||||||
<et2-select id="priority"></et2-select>
|
<et2-select id="priority"></et2-select>
|
||||||
|
Loading…
Reference in New Issue
Block a user