Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In my previous build, the code run OK. Then, I removed 1 customized .js to another folder, and then updated its reference path (dragged and dropped it to ...). I re-run my project again, and found that all of the functions in the .js are not accessible at all. I have never met this problem before. How to debug on it? Thanks in advance.
Posted
Comments
ZurdoDev 9-Dec-15 10:06am    
Sounds like you missed some spots when updating the path.
Sergey Alexandrovich Kryukov 9-Dec-15 10:12am    
No, you did not lose "connection to .js", because there is no such thing. Just checkup your paths, or revert to your previous version and start over. Just fix it.
—SA
F-ES Sitecore 9-Dec-15 10:20am    
Make sure you have amended the links that refer to the js file, also try a hard-refresh in the browser using ctrl+F5 to ensure it's not a caching issue. If you still have problems view the page source and find the url, make sure it is correct. You can use the browser's dev tools to see the network traffic which will show you what urls are being requested.
s yu 9-Dec-15 10:34am    
I reloaded my backup and then changed the path. It works now. I would guess that the project got crashed. Actually, nothing was wrong in the path issue. This report can be closed. Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900