From ea6d3274af7462e76af42de1179416f79a2b4a16 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 3 Jul 2013 02:15:49 +0000 Subject: [PATCH] * adjust code. --- module/bug/view/browse.custom.html.php | 2 +- module/story/control.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/bug/view/browse.custom.html.php b/module/bug/view/browse.custom.html.php index a0524fb9b1..0e3af64787 100644 --- a/module/bug/view/browse.custom.html.php +++ b/module/bug/view/browse.custom.html.php @@ -10,10 +10,10 @@ +
'>
- diff --git a/module/story/control.php b/module/story/control.php index 8a8b0fc8e9..f23fc25dc2 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -448,6 +448,8 @@ class story extends control $actionID = $this->action->create('story', $storyID, 'Activated', $this->post->comment); $this->action->logHistory($actionID, $changes); $this->sendMail($storyID, $actionID); + + if(isonlybody()) die(js::closeColorbox('parent.parent')); die(js::locate($this->createLink('story', 'view', "storyID=$storyID"), 'parent')); }