Wait for scheduler.save_lightbox() to complete

Hi

Is it possible to wait for scheduler.save_lightbox() to complete before redirecting to another page?

Thanks

You can use something like

[code]dp.attachEvent(“onAfterUpdate”, function(){
some_custom_code();

//code here will be executed only after saving data in the database

});[/code]

Fantastic. Works well.

Thank you