diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js index c913ca4140..2092a6616b 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; };