Jump to content

JQueryUI not working


Recommended Posts

Okay I'm loading it from google and now it's working. Let's see for how long - once I include the other modules again it probably breaks again. grr

$this->context->controller->addCSS('https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css');
$this->context->controller->addJS('https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js');
Link to comment
Share on other sites

It depends on your Prestashop version. 1.6 or 1.7 ?

 

Thanks for your response, I am using 1.6.10

 

I am now having more problems like this in back office.

 

If I use the google hosted library, it breaks in back office. If I use ALL the prestashop included libraries, it breaks. If I manage to include all libraries without breaking it, there won't be any errors in the console, but it will not do .menu();

 

-.-

 

More details in my stackoverflow question:

http://stackoverflow.com/questions/41290138/jquery-ui-menu-not-working-in-prestashop-back-office

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...