mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +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
cb0f0f8063
commit
52245308c9
@ -1002,7 +1002,7 @@ app.classes.mail = AppJS.extend(
|
||||
if (content[field]['files'] && 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)
|
||||
{
|
||||
if (_button == Et2Dialog.YES_BUTTON)
|
||||
|
Loading…
Reference in New Issue
Block a user