Hi There,
I am looking to trigger alert box after record save at record creations time.
elf.initiateSave(_.bind(function initSave() {
if (self.closestComponent('drawer')) {
app.alert.show('or_copied123', {
level: 'success',
messages: 'this the message',
autoClose: false
});
app.drawer.close(self.context, self.model);
app.alert.dismiss('or_copied123');
}
}, self));
I tried 'saveAndClose': function() in create js but it't not working. Please suggest me any way to achieve this. is there any way to show alert message showing only after the record save.