diff --git a/trunk/www/js/my.js b/trunk/www/js/my.js index 8e0c2bb5b1..30cbd9a2e7 100644 --- a/trunk/www/js/my.js +++ b/trunk/www/js/my.js @@ -85,6 +85,14 @@ function switchProject(projectID) location.href=link; } +/* 选择用户。*/ +function switchAccount(account) +{ + link = createLink('user', 'view', 'account=' + account); + location.href=link; +} + + /* 自动执行的代码。*/ $(document).ready(function() {