This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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 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
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>
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
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