mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
move egw_get_file_editor_prefered_mimes() to egw.file_editor_prefered_mimes() as everything in old jsapi.js is deprecated and should be removed
.
This commit is contained in:
@ -539,7 +539,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
let fe = egw_get_file_editor_prefered_mimes(mime);
|
||||
let fe = this.file_editor_prefered_mimes(mime);
|
||||
if (!fe || !fe.mime || fe && fe.mime && !fe.mime[mime])
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user