0

In Internet Explorer, I am getting this JavaScript error:

Message: Expected identifier, string or number Line: 42 Char: 17 Code: 0 URI: http://example.com/pub/static/version1537326701/frontend/joe/magento-luma-child-theme/en_US/Magento_Ui/js/modal/confirm.js

enter image description here

My question is, http://example.com/pub/static/version1537326701/frontend/joe/magento-luma-child-theme/en_US/Magento_Ui/js/modal/confirm.js is obviously a cached file, so where is the original file located so I can edit it?

2 Answers 2

0

As per your path

frontend/joe/magento-luma-child-theme/en_US/Magento_Ui/js/modal/confirm.js

If you see joe/magento-luma-child-theme path.

It(confirm.js) should be in

app/design/frontend/joe/magento-luma-child-theme/Magento_Ui/web/js/modal(OR model)/confirm.js

0

Your answer is in your question!

Every core js & CSS file location in magento core module /projectname/vendor/magento/ directory.

So your confirm.js file is located in below path.

/projectname/vendor/magento/Magento_Ui/view/base/web/js/modal/confirm.js

I hope it helps!

1
  • @GTS Joe have you checked my answer? you need any more clarification? Nov 21, 2018 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.