Really initial commit.

This commit is contained in:
Boris Gulay
2016-04-28 00:43:39 +03:00
parent 3dd5a3f94f
commit f9b2762d30
17 changed files with 515 additions and 0 deletions

14
ident_switch.js Normal file
View File

@@ -0,0 +1,14 @@
/*
* This is part of identity_imap plugin
*/
$(function() {
if ($('#plugin-ident_switch-account').size() > 0) {
$('#plugin-ident_switch-account').prependTo('.topright');
$('.topright .username').hide();
$('#plugin-ident_switch-account').show();
}
});
function plugin_switchIdent_switch(val) {
rcmail.http_post('plugin.ident_switch.switch', { '_ident-id': val });
}