From 77864751cbda91b53aa96897325e6bb284c8431c Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Thu, 27 Jun 2013 01:23:22 +0000 Subject: [PATCH] * add actions for story detail. --- module/story/control.php | 3 ++- module/story/view/m.ajaxgetdetail.html.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 17c02b9605..3708ef452e 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -768,7 +768,8 @@ class story extends control */ public function ajaxGetDetail($storyID) { - $this->view->story = $this->story->getByID($storyID); + $this->view->actions = $this->action->getList('story', $storyID); + $this->view->story = $this->story->getByID($storyID); $this->display(); } diff --git a/module/story/view/m.ajaxgetdetail.html.php b/module/story/view/m.ajaxgetdetail.html.php index 589e990ddb..d81af87cdc 100644 --- a/module/story/view/m.ajaxgetdetail.html.php +++ b/module/story/view/m.ajaxgetdetail.html.php @@ -6,3 +6,4 @@

story->verify?>

verify;?> +