]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix typo
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 11 Mar 2015 20:26:10 +0000 (15:26 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Mar 2015 02:27:16 +0000 (21:27 -0500)
html5/verto/js/src/jquery.verto.js

index 9bb5e02ceb820b2783fbaa3bf6da0759cb715b16..750b05a8e5807ec153a39a686c25b4b914a05770 100644 (file)
     $.verto.dialog.prototype.transfer = function(dest, params) {
         var dialog = this;
         if (dest) {
-            cur_call.sendMethod("verto.modify", {
+            dialog.sendMethod("verto.modify", {
                 action: "transfer",
                 destination: dest,
                 params: params
     $.verto.dialog.prototype.hold = function(params) {
         var dialog = this;
 
-        cur_call.sendMethod("verto.modify", {
+        dialog.sendMethod("verto.modify", {
             action: "hold",
             params: params
         });
     $.verto.dialog.prototype.unhold = function(params) {
         var dialog = this;
 
-        cur_call.sendMethod("verto.modify", {
+        dialog.sendMethod("verto.modify", {
             action: "unhold",
             params: params
         });
     $.verto.dialog.prototype.toggleHold = function(params) {
         var dialog = this;
 
-        cur_call.sendMethod("verto.modify", {
+        dialog.sendMethod("verto.modify", {
             action: "toggleHold",
             params: params
         });