view plugins/userinfo/userinfo.min.js @ 41:d2414df68d78 default tip

Updated by Alex S Grebenschikov (www.poralix.com) to make it compatible with RoundCube 1.3.0
author Charlie Root
date Fri, 24 Jan 2025 14:20:15 -0500
parents 1e000243b222
children
line wrap: on
line source

window.rcmail&&rcmail.addEventListener("init",function(){var a=$("<span>").attr("id","settingstabpluginuserinfo").addClass("tablink");$("<a>").attr("href",rcmail.env.comm_path+"&_action=plugin.userinfo").text(rcmail.get_label("userinfo","userinfo")).click(function(a){return rcmail.command("plugin.userinfo","",this,a)}).appendTo(a);rcmail.add_element(a,"tabs");rcmail.register_command("plugin.userinfo",function(){rcmail.goto_url("plugin.userinfo")},!0)});