javascript - Broken Ajax and JS while testing out a CDN on three different directories on a Magento Build -


this magento build. believe link or directory structure may have broken. ajax broken , console showing error below.

i think has ajax_pager.js:101 references getbaseurl.

do may need updated version of prototype javascript framework, version 1.7.3

error log saying

error: "throw $continue" deprecated, use "return" instead  

 uncaught typeerror: cannot read property 'length' of undefined         @ klass.prepareurlformana (ajax_pager.js:101)         @ klass.ajaxproductsupdate (ajax_pager.js:70)         @ ajax_pager.js:59         @ responder (prototype.js:5598) 

i've right clicked on prototype.js , ajax_pager.js files , appear linked correctly still.

ajax_pager.js

    url.substr(this.config.getbaseurl(url).length);  line 101       var preparedurl = this.prepareurlformana(this.listconfig.nextbunchurl);   line 70           // define if current offset scrolled checkpoint         if(scrolledtocheckpoint) {             _this.ajaxproductsupdate();  line 59         } 

prototype.js

  } else {     responder = function(event) {       event.extend(event, element);       handler.call(element, event);     };   } } 

please let me know can further investigate.

base url should take on base url


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -