From 67dad0639867bbc64fa404b30caad2889ea80899 Mon Sep 17 00:00:00 2001 From: Victor Torres Date: Fri, 8 Sep 2017 11:08:44 -0300 Subject: [PATCH] FS-10654: [verto] implementing replace prototype in verto dialog --- html5/verto/js/src/jquery.verto.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js index b379904c26..501a871c40 100644 --- a/html5/verto/js/src/jquery.verto.js +++ b/html5/verto/js/src/jquery.verto.js @@ -2441,6 +2441,17 @@ } }; + $.verto.dialog.prototype.replace = function(replaceCallID, params) { + var dialog = this; + if (replaceCallID) { + dialog.sendMethod("verto.modify", { + action: "replace", + replaceCallID: replaceCallID, + params: params + }); + } + }; + $.verto.dialog.prototype.hold = function(params) { var dialog = this;