]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
change for back compat
authorBrian West <brian@freeswitch.org>
Tue, 21 Jul 2015 21:59:10 +0000 (16:59 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 21 Jul 2015 21:59:21 +0000 (16:59 -0500)
html5/verto/video_demo/verto.js

index ab4faac4fb167e7b72523406d06a24cd4600a759..95a79c5902c53ddf54898970315422042f928ab0 100644 (file)
@@ -1014,7 +1014,7 @@ function init() {
     pop("#avatar", "verto_demo_avatar", "");
     pop("#cidname", "verto_demo_name", "FreeSWITCH User");
     pop("#cid", "verto_demo_cid", "1008");
-    pop("#email", "verto_demo_email", "");
+    pop("#email", "verto_demo_emailaddr", "");
     pop("#textto", "verto_demo_textto", "1000");
 
     pop("#login", "verto_demo_login", "1008");
@@ -1389,6 +1389,8 @@ function init() {
             if (resp.emails[i].type === 'account' && resp.emails[i].value) { 
                $("#email").val(resp.emails[i].value);
                $("#email").change();
+               $("#cid").val(resp.emails[i].value);
+               $("#cid").change();
             }
        }