* change die to return.

This commit is contained in:
wangchunsheng
2012-12-25 06:44:32 +00:00
parent 4410853c5e
commit 7c2b36a0b2

View File

@@ -272,7 +272,7 @@ function switchProject(projectID, module, method, extra)
method = 'build';
}
if(module == 'project' && method == 'create') die;
if(module == 'project' && method == 'create') return;
link = createLink(module, method, 'projectID=' + projectID);
if(extra != '') link = createLink(module, method, 'projectID=' + projectID + '&type=' + extra);