keystonejs/keystone-classic

IE11 doesn't support responseType: json

Open

#3734 opened on Nov 23, 2016

View on GitHub
 (10 comments) (2 reactions) (0 assignees)JavaScript (14,656 stars) (2,288 forks)batch import
bughelp wanted

Description

Steps to reproduce the behavior

  1. Using IE (even IE11), access the admin panel. Any website is fine, even the demo website. You might need fix #3733 to do that.
  2. Select a model to list all its entries

Expected behavior

See the entries

Actual behavior

The entries aren't shown and the loader stays where it is. The error occurs in the method showBlankState(). The reason is that the value of this.props.items is a string and not an array. Therefore, IE isn't able to access the property results and this code this.props.items.results.length generates an error.

Contributor guide