Important

Okay
  Public Ticket #1428330
Javascript error onload
Closed

Comments

  •  1
    Haridev started the conversation

    Failed to load javascript:void(0);?_=1515682362790: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.


    Hope you can find a solution.

  •  1,319
    Land of replied

    Hi

    Please replace file script.js

    Thanks

  •  1
    Haridev replied

    Sorry it doesn't work

  •  1,319
    Land of replied

    Hello Haridev,

    I see the problem with the site are using the module ajax filter, it changed the next page url on grid products page to the code as this:

                                            <a  class="action  next"
                                                        href="javascript:void(0);"
                                onclick="pt_ajax_layer.ajaxFilter('https://lesscontainer.com/half-top?_=1515741532219&p=3');"
                                                    title="Next">

    Our module should read the href data.

    Please download my attach file, then decompress it on your local pc to get the file script.js. Then upload the file into there folders:

    pub/static/frontend/Sahara/sahara_fashion10/en_US/Lof_AjaxScroll/js/

    app/design/frontend/Sahara/sahara_fashion10/Lof_AjaxScroll/web/js/

    Flush cache of your site.