Pass mbox name with switch command.
This commit is contained in:
@@ -53,8 +53,8 @@ function plugin_switchIdent_secure_onChange(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function plugin_switchIdent_switch(val) {
|
function plugin_switchIdent_switch(val) {
|
||||||
console.log("qwe1");
|
console.log(rcmail.env.mailbox);
|
||||||
rcmail.http_post('plugin.ident_switch.switch', { '_ident-id': val });
|
rcmail.http_post('plugin.ident_switch.switch', { '_ident-id': val, '_mbox': rcmail.env.mailbox });
|
||||||
}
|
}
|
||||||
|
|
||||||
function plugin_switchIdent_fixIdent(iid) {
|
function plugin_switchIdent_fixIdent(iid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user