Debugging for "types[i] is undefined" error
This commit is contained in:
parent
6c814e2fa2
commit
226928f1e9
1 changed files with 4 additions and 0 deletions
|
@ -396,6 +396,10 @@ Zotero.MIME = new function(){
|
|||
.hiddenDOMWindow.navigator.mimeTypes;
|
||||
|
||||
for (var i in types){
|
||||
// DEBUG
|
||||
Zotero.debug('=======');
|
||||
Zotero.debug(i);
|
||||
Zotero.debug(types[i].type);
|
||||
if (types[i].type && types[i].type == mimeType){
|
||||
Zotero.debug('MIME type ' + mimeType + ' can be handled by plugins');
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue