* finish task #6760.

This commit is contained in:
wangyidong
2019-12-18 13:07:49 +08:00
parent d0c070436d
commit f29fdfd106
4 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ class doc extends control
if(!empty($files)) $fileAction = $this->lang->addFiles . join(',', $files) . "\n" ;
$this->action->create('doc', $docID, 'Created', $fileAction);
$vars = "libID=$libID&browseType=byModule&moduleID={$this->post->module}&orderBy=id_desc&from=$this->from";
$vars = "libID={$this->post->lib}&browseType=byModule&moduleID={$this->post->module}&orderBy=id_desc&from=$this->from";
$link = $this->createLink('doc', 'browse', $vars);
if($this->app->getViewType() == 'xhtml') $link = $this->createLink('doc', 'view', "docID=$docID");
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $link));