Showing 1 – 2 of 2 replies
SebH

Vendor plugins issue with ajax

SebH PURCHASED
1 year ago
Hi,

How do you initialize vendor plugins if the containers are ajax loaded ?

For example, in a form loaded by ajax, i have the summernote editor, but it does not initialize, whereas it works fine if this plugins is in a form not called by ajax... :(

( I tried to load directly the vendor javascript but it causes errors ).

Thanks
SebH
SebH PURCHASED
1 year ago
The only way i found is to add again the core script in the ajax response ;-)
stepofweb
stepofweb SELLER
1 year ago
Hello SebH,

The summernote (like all other plugins) should be auto-initialized by the Smarty core - in ajax forms, ajax loaded content - everywhere.

I will check the Summernote plugin - looks like there is an issue because one of recent update (because of latest jQuery or latest Bootstrap - not sure yet).

Thanks.