change for back compat

This commit is contained in:
Brian West 2015-07-21 16:59:10 -05:00
parent cbccadaa2f
commit 5c34ef4e54
1 changed files with 3 additions and 1 deletions

View 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();
}
}