* Fix bug 12781.

This commit is contained in:
holan20180123
2021-06-01 15:33:31 +08:00
parent ec8ff5d72d
commit fbc5f1404e
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -181,11 +181,7 @@ class my extends control
public function story($type = 'assignedTo', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
/* Save session. */
if($this->app->viewType != 'json')
{
$this->session->set('storyList', $this->app->getURI(true), 'product');
$this->session->set('storyList', $this->app->getURI(true), 'my');
}
if($this->app->viewType != 'json') $this->session->set('storyList', $this->app->getURI(true), 'product');
/* Load pager. */
$this->app->loadClass('pager', $static = true);
+1 -1
View File
@@ -1097,7 +1097,7 @@ class story extends control
if(dao::isError()) die(js::error(dao::getError()));
if(!dao::isError()) $this->loadModel('score')->create('ajax', 'batchOther');
die(js::locate($this->session->storyList, 'parent'));
die(js::reload('parent'));
}
/**