215 Posts
iliil
3 years ago
0
Topic

Hi Everybody

I am using a SEBLOD approach for loading and submitting Raw SEBLOD Form  via AJAX (JCck.Core.getModal({}).loadUrl(url) )

It works great I just have an issue with javascript loaded within the GroupX field.  When the ajax form is loaded multiple times (without page preload) the js events (adding, removing groupX item ) are multiplied. This makes the field unusable.

Does anyone have an idea how to solve this?

Is there a way to destroy the groupX scripts after the AJAX form submit (without page reload ) or not to load them again once they are already loaded?

Thanks for help

Michal

Get a Book for SEBLOD