Now correct identity is selected when creating new message in remote

account.
This commit is contained in:
Boris Gulay
2016-05-16 22:18:20 +03:00
parent 0925fca08a
commit 3e41e57888
2 changed files with 22 additions and 1 deletions

View File

@@ -13,3 +13,8 @@ function plugin_switchIdent_switch(val) {
console.log("qwe1");
rcmail.http_post('plugin.ident_switch.switch', { '_ident-id': val });
}
function plugin_switchIdent_fixIdent(iid) {
if (parseInt(iid) > 0)
$("#_from").val(iid);
}