Implement proposed filemanager mime type open handler based on user preferences

This commit is contained in:
Hadi Nategh
2018-02-06 18:00:36 +01:00
parent d934f33ea6
commit 8e0243294c
5 changed files with 34 additions and 6 deletions

View File

@ -393,7 +393,7 @@ function expose (widget)
return;
}
var fe = egw.link_get_registry('filemanager-editor');
var fe = egw_get_file_editor_prefered_mimes();
var self=this;
// If the media type is not supported do not bind the click handler
if (!_value || typeof _value.mime != 'string' || (!_value.mime.match(mime_regex,'ig')