* Fix bug 12781.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user