adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
88 stars 107 forks source link

Search does not work in IE11 - Missing findIndex() & find() #195

Closed niksvers closed 6 years ago

niksvers commented 6 years ago

On IE11, the search button on the search page throws an exception : "Object doesn't support property or method 'findIndex()' ". You can see the exception in the console logs of the browser.

Because IE11 does not support findIndex() & find() methods for Array, the search button does not work.

Path to the JS file : ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/form-data.js

godanny86 commented 6 years ago

Thanks @niksvers I believe Edge is the preferred browser for Windows. Do you have a workaround method to support IE11?

davidjgonzalez commented 6 years ago

@niksvers hows this look? I dont have Ie11 to test, but these are equivalents.

https://github.com/Adobe-Marketing-Cloud/asset-share-commons/pull/199