View Single Post
  #3  
Old 08-03-2015, 04:10 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Where to place the common ajax functions for shipping module plugin

I think it may work if you add this js file to the list of js files loaded by the widget class.

However, it would be better if you could wrap it up into a "controller" and make XC5 autoload it - search for "core.autoload(" in other js files.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions