+ add switchAccount(), used in user view feature.

This commit is contained in:
wangchunsheng
2009-12-18 08:56:03 +00:00
parent ef8e82c86b
commit e5d692a148

View File

@@ -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()
{