09-14-2017 07:57 AM
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.
09-15-2017 10:07 AM
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.
09-15-2017 10:07 AM
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.
09-16-2017 04:12 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.