Jump to content

CCC JS does not remove duplicates


Recommended Posts

Hello,

 

I posted this topic http://www.prestashop.com/forums/topic/326102-cccjs-ne-dédoublonne-pas-les-scripts/?p=1649919 but have no reply. I still believe that this is a bug.

 

The display() method of FrontController does not use array_unique method to remove duplicates as smartyOutputContent() of Controller do.

 

So when a module add jQuery for example, then the library is added two times in the compressed file : it runs into errors and increase javascript size.

 

If you think I'm right I will create a ticket.

Thank you.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...