This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

laurynas18071
laurynas18071

Hello everyone, i have a problem with October cms, I'm guessing it is from user plug-in, in my website i get two clicks while i push mouse button just one time, i can't imagine, where to search that bug... Any advices would be thankful...!

Crazymodder
Crazymodder

Hi, which button does have this problem? Is it in your frontend or in October Backend?

laurynas18071
laurynas18071

Crazymodder said:

Hi, which button does have this problem? Is it in your frontend or in October Backend?

Hi it is just front-end problem, all buttons...(that have ajax features) for example eshop button "add to cart"...

Last updated

laurynas18071
laurynas18071

can it be because one of this jquery js file?

    <script src="{{ 'assets/vendor/jquery/jquery.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.appear/jquery.appear.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.easing/jquery.easing.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery-cookie/jquery-cookie.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/bootstrap/js/bootstrap.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/common/common.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.validation/jquery.validation.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.stellar/jquery.stellar.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.easy-pie-chart/jquery.easy-pie-chart.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.gmap/jquery.gmap.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/jquery.lazyload/jquery.lazyload.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/isotope/jquery.isotope.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/owl.carousel/owl.carousel.min.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/owl.carousel/owl.carousel.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/magnific-popup/jquery.magnific-popup.min.js'|theme    }}"></script>
    <script src="{{ 'assets/vendor/vide/vide.min.js'|theme }}"></script>
Renatio
Renatio

Do you use {% framework %} or {% framework extras %} anywhere in your code?

If so, you must only put it once. So use only {% framwork extras %} and get rid of anything else.

Another way to debug this is just commenting all scripts and than uncomment them one by one.

And another tip is that you should write those scripts as an array syntax so the system can combine and minify them to one file on production.

Last updated

laurynas18071
laurynas18071

thank you, my problem was that i had in my code

{% framework %}
{% framework extras %}

I removed {% framework %} and now everything works fine!

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.