* finish task #7271.

This commit is contained in:
z
2020-06-22 08:25:24 +08:00
parent ca2f701ddc
commit d523fe31ae
+2
View File
@@ -976,6 +976,7 @@ class actionModel extends model
echo js::alert(sprintf($this->lang->action->needEdit, $this->lang->action->objectTypes['product']));
die(js::locate(helper::createLink('product', 'edit', "productID=$action->objectID&action=undelete&extra=$actionID"), 'parent'));
}
if($product->acl != 'open') $this->loadModel('user')->updateUserView($product->id, 'product');
}
elseif($action->objectType == 'project')
{
@@ -986,6 +987,7 @@ class actionModel extends model
echo js::alert(sprintf($this->lang->action->needEdit, $this->lang->action->objectTypes['project']));
die(js::locate(helper::createLink('project', 'edit', "projectID=$action->objectID&action=undelete&extra=$actionID"), 'parent'));
}
if($project->acl != 'open') $this->loadModel('user')->updateUserView($project->id, 'project');
}
elseif($action->objectType == 'module')
{