Editor TypeMismatchError uploading using IE11 using Choose File dialog

Editor TypeMismatchError uploading using IE11 using Choose File dialog

jamesj2jamesj2 Posts: 6Questions: 3Answers: 0

My issue the similar to https://datatables.net/forums/discussion/38742.

I'm using Datatables Editor 1.10.19. Whenever I upload an image via IE11 using the "Choose File" dialog it results in a TypeMismatchError. The console reports error with dataTable.editor.js @ line 4378 : "(reader.readAsDataURL( files[0] );". It seems to called twice. Once with a valid files array from line 4369 and once with an empty variable. This issue does not occur in Firefox or when using the drag and drop method.

I have a working example here. This example was used in a previous bug report but it produces the current issue.

Answers

  • allanallan Posts: 61,722Questions: 1Answers: 10,108 Site admin

    Hi,

    Could you update to Editor 1.9.2 please? I think this has already been fixed - you are using 1.9.0 in that repo.

    Thanks,
    Allan

This discussion has been closed.