Jump to content

Edit History

diondlemarcu

diondlemarcu

On 8/23/2017 at 3:28 PM, mike10101 said:

Hello,

 

I am working on a module and I'm trying to add a small jquery plugin I need for the product page.

 

Using the old method


$this->context->controller->addJs()

the jquery plugins Showbox jiofi.local.html tplinklogin gets added BEFORE bundle.js where jquery is... well... bundled.. and the plugin can't bind to jquery before its loaded.

 

Is there some kind of method I'm not aware to add js files after bundle.js in the new symfony admin pages ?

 

 

Otherwise I am forced to inject the file with js which is not cool.

 

 

Side note: why can't we post issues on the github repo ?? Its such a shame I can't post this on github.

 

 

- mike

bump

diondlemarcu

diondlemarcu

On 8/23/2017 at 3:28 PM, mike10101 said:

Hello,

 

I am working on a module and I'm trying to add a small jquery plugin I need for the product page.

 

Using the old method


$this->context->controller->addJs()

the jquery plugins gets added BEFORE bundle.js where jquery is... well... bundled.. and the plugin can't bind to jquery before its loaded.

 

Is there some kind of method I'm not aware to add js files after bundle.js in the new symfony admin pages ?

 

 

Otherwise I am forced to inject the file with js which is not cool.

 

 

Side note: why can't we post issues on the github repo ?? Its such a shame I can't post this on github.

 

 

- mike

bump

×
×
  • Create New...