diff --git a/module/doc/view/side.html.php b/module/doc/view/side.html.php
index d749ada46c..4d9f54a3c5 100644
--- a/module/doc/view/side.html.php
+++ b/module/doc/view/side.html.php
@@ -57,7 +57,7 @@ $sideWidth = common::checkNotCN() ? '270' : '238';
}
}
- $icon = $tabValue == 'product' ? " " : " ";
+ $icon = $tabValue == 'product' ? " " : " ";
$activeClass = ($this->methodName == 'objectlibs' && $type == $tabValue && $object->id == $tabMenuID) ? 'active' : '';
$activeClass = ($this->methodName == 'browse' && isset($currentLib->id) && $currentLib->id == $mainLibID) ? 'active' : $activeClass;
?>
@@ -94,10 +94,10 @@ $sideWidth = common::checkNotCN() ? '270' : '238';
>
" . $subLibName, '', "class='text-ellipsis' title='{$subLibName}'");?>
-
- 0):?>
-
-
+
+ 0):?>
+
+
parent != 0) continue;?>
- methodName == 'browse' && $browseType == 'bymodule' && $moduleID == $module->id) echo "class='active'";?>>
diff --git a/module/product/control.php b/module/product/control.php
index be6cc15f8e..cd150d8a47 100644
--- a/module/product/control.php
+++ b/module/product/control.php
@@ -440,6 +440,8 @@ class product extends control
$methodName = $programID ? 'product' : 'view';
$param = $programID ? "programID=$programID" : "product=$productID";
$locate = $this->createLink($moduleName, $methodName, $param);
+
+ if(!$programID) $this->session->set('productList', $this->createLink('product', 'browse', $param));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $locate));
}