mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 19:50:44 +01:00
Fix broken share file as download link into an open compose dialog
This commit is contained in:
parent
2cde60c266
commit
2cd90a84ba
@ -990,7 +990,7 @@ 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[content[field]['files']['filemode']]['label'];
|
var filemode_label = filemode.options.select_options.filter(_item=>{return _item.value == content[field]['files']['filemode']})[0]['label'];
|
||||||
Et2Dialog.show_dialog(function (_button)
|
Et2Dialog.show_dialog(function (_button)
|
||||||
{
|
{
|
||||||
if (_button == Et2Dialog.YES_BUTTON)
|
if (_button == Et2Dialog.YES_BUTTON)
|
||||||
|
Loading…
Reference in New Issue
Block a user