* fix the error of switch lib.

This commit is contained in:
wangchunsheng
2010-08-03 06:18:06 +00:00
parent 439ee47435
commit 084082572f
+1 -1
View File
@@ -132,7 +132,7 @@ function switchDocLib(libID, module, method, extra)
{
if(module == 'doc')
{
if(method != 'view')
if(method != 'view' && method != 'edit')
{
link = createLink(module, method, "rootID=" + libID);
}