trigger event when dialog is shown to perform custom dialog actions

This commit is contained in:
Ezequiel Bergamaschi
2014-09-11 14:38:49 -03:00
parent 71b9357a9f
commit 7c31954b19
5 changed files with 24 additions and 4 deletions

View File

@@ -37,6 +37,12 @@ BootstrapDialog.Request = new Class({
});
me.show();
});
},
onDialogShown: function() {
if (typeof(onDialogShown) == "function") {
onDialogShown();
}
}