Sweet Alert (sc_alert) Bug in ajax events

Sweet Alert sc_alert not working in ajax events, nothing shows up in production environment(New Installation). in development its working properly

$params = array(
‘title’ => ‘Error’,
‘type’ => ‘error’,
‘position’ => ‘top-start’
);
sc_alert(“Duplicate Part Code”,$params);

have you uploaded all libraries to your production system?

maybe this could help.

it has happened to me that a production form wont work the same good way it works on development… so what i do is to re-write the whole form from the groundup (create a new form, and then copy paste by hand all your programing and settings from the old form to the new) then try the new form on production… usually it helps a lot… (maybe this is just a bug to repair)

best regards

Hello,

I made some tests in my environment and this problem has been solved in our new release. It’s available to download.

You can see our change log by this link below:
https://www.scriptcase.net/changelog/