mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Fix excluded mime types does not work for CollabEditor
This commit is contained in:
parent
facb029b24
commit
e098d72baa
@ -1289,7 +1289,7 @@ app.classes.filemanager = AppJS.extend(
|
||||
var data = egw.dataGetUIDdata(_senders[0].id),
|
||||
mime = this.et2._inst.widgetContainer.getWidgetById('$row');
|
||||
var fe = egw_get_file_editor_prefered_mimes();
|
||||
if (fe && fe.mime && !fe.mime[mime]) return false;
|
||||
if (fe && fe.mime && !fe.mime[data.data.mime]) return false;
|
||||
return data.data.mime.match(mime.mime_odf_regex)?true:false;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user