Chrome 51 is killing custom ArcGIS JS API apps, not just WAB products.

4235
2
06-01-2016 10:55 AM
JoshVan_Kylen
New Contributor III

I see WAB has a patch already.  Is there a fix for custom apps?

Here is the error message I am seeing:

Uncaught ReferenceError: normal is not defined      css.js:2

(anonymous function) @ (program):1

f @ css.js:2

l @ load-css.js:4

l @ load-css.js:4

h @ load-css.js:4

(anonymous function) @ load-css.js:4

0 Kudos
2 Replies
JoshVan_Kylen
New Contributor III

Apparently, swapping out the reference to our  locally stored copy of the ArcGIS JS API for the updated/patched CDN of version 3.16  is one way to solve this issue.

0 Kudos
SvivaManager
Occasional Contributor II

Hi,

I came across with this problem as well in my local installation of Portal for ArcGIS and managed to fix it.

you can solve this bug manually by going to the local library where the JS API is located at (....\arcgis_js_api\library\), there should be a library called xstyle and there should be a file there named css.js

In that file, search for the following text -

a&&"none"!=a

and replace it with -

a&&"none"!=a&&"normal"!=a

in the api library, there might be a second version of this file, so it's just best to run a texet search on all files under that api location.

Hope that helps.

Cheers,

Shay.