Newbie question:
Alfresco 201704 GA
I want to edit share/preview.
I added jquery plugin(https://github.com/loicminghetti/touchpdf) under share/components/preview.
I showed document-details then the page is blank. but the source code is exist.
Please how should I solve this problem?
Thanks in advanced.
Solved! Go to Solution.
In Firefox or Chrome, open Web Developer Tools. Look at the web developer tools JavaScript console. I suspect you'll see one or more errors indicating what might be going on. It's probably a JS file not found or maybe a reference to a function that can't be found because a JS file did not get pulled in.
Regardless, if you are going to crack open the hood you're going to have to roll up your sleeves and get your hands dirty. That starts with client-side JavaScript debugging.
In Firefox or Chrome, open Web Developer Tools. Look at the web developer tools JavaScript console. I suspect you'll see one or more errors indicating what might be going on. It's probably a JS file not found or maybe a reference to a function that can't be found because a JS file did not get pulled in.
Regardless, if you are going to crack open the hood you're going to have to roll up your sleeves and get your hands dirty. That starts with client-side JavaScript debugging.
Thank you for your reply.
I looked at the Chrome web developer tools, I found dojo and jquery plugin are conflicting.
I tryed jquery plugin reference after dojo then this problem has been resolevd.
Thanks
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.