mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Mail: Fix share as download link from filemanager gave JS error
Unable to set field data to '[object Object]' in window 'compose_0__ Caused by accessing select_options through deprecated options object
This commit is contained in:
parent
bbe300fb2f
commit
441f90d92e
@ -1002,7 +1002,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.filter(_item=>{return _item.value == content[field]['files']['filemode']})[0]['label'];
|
var filemode_label = filemode.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