forked from extern/egroupware
Change media logic to also support mime=false
This commit is contained in:
parent
92c26d156d
commit
8926574a35
@ -381,7 +381,7 @@ function expose (widget)
|
||||
|
||||
var self=this;
|
||||
// If the media type is not supported do not bind the click handler
|
||||
if (_value && typeof _value.mime != 'undefined' && !_value.mime.match(mime_regex,'ig'))
|
||||
if (!_value || typeof _value.mime != 'string' || !_value.mime.match(mime_regex,'ig'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user