diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js index 7e19c90343..a90a398e31 100644 --- a/html5/verto/js/src/jquery.verto.js +++ b/html5/verto/js/src/jquery.verto.js @@ -465,12 +465,12 @@ var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args); - dialog.invite(); - if (callbacks) { dialog.callbacks = callbacks; } + dialog.invite(); + return dialog; };