RobYost Posted October 12, 2017 Share Posted October 12, 2017 I added Sistema Fenix to my project to use the Sweet Alert component. It works fine on my development machine, but when I put on my server I get: Ajax Error swal is not defined swal({ title: 'Demo', html: 'Account Information not available in Demo mode', type: 'info', showConfirmButton: true, showCancelButton: false, confirmButtonText: 'OK', cancelButtonText: '', animation: true, allowEscapeKey: false, confirmButtonColor: '#BDBF37', cancelButtonColor: '#d33', timer: 0, allowOutsideClick: false }); swal is not defined Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 12, 2017 Share Posted October 12, 2017 Hi Add sweetalert.js to files folder Quote Link to comment Share on other sites More sharing options...
belo Posted October 12, 2017 Share Posted October 12, 2017 Add the uniSFJS folder to the uniGUI version folder C:\Program Files (x86)\FMSoft\Framework\uniGUI\uni-1.0.0.1413\uniSFJS Quote Link to comment Share on other sites More sharing options...
RobYost Posted October 12, 2017 Author Share Posted October 12, 2017 Thanks, Eduardo, That fixed it. Hayri, I couldn't find sweetalert.js but I did have sweetalert2.min.js and sweetalert2.common.js I didn't try copying them, I moved the whole folder and it worked. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.