This project has moved and is read-only. For the latest updates, please go here.

javascript alert

Jul 8, 2017 at 12:55 PM
hi ,
i am trying to use alert.js in my function but it does no sense at all
i installed the library of Alert.js and here is my code using it onSave event
trying to refresh a form through a function and disable it using Alert.showLoading()

function ExecuteWhenSaveComplete(callback)
setTimeout(function ()
    if (! return callback();
    //console.log('form not saved yet');
}, 10000);

function SetExecuteOnSaveComplete()
ExecuteWhenSaveComplete(function ()
    console.log('form save complete');


any support would be great , thanks