diff --git a/module/doc/control.php b/module/doc/control.php index 2f832eac3d..9316978bdd 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -326,7 +326,7 @@ class doc extends control if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $docID)); $objectID = zget($lib, $lib->type, 0); $params = "type={$lib->type}&objectID=$objectID&libID={$lib->id}&docID=" . $docResult['id']; - $link = isonlybody() ? 'parent' : $this->createLink('doc', 'objectLibs', $params) . '#app=' . $this->app->tab; + $link = isonlybody() ? 'parent' : $this->createLink('doc', 'objectLibs', $params); $response = array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $link); return $this->send($response);