From fb1a69f8dc4c806ae2ab67f6fa5070bdbe496110 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sat, 6 Jul 2013 09:15:26 +0000 Subject: [PATCH] * replace js:locate instead $this->locate. --- module/bug/view/m.view.html.php | 4 ++-- module/story/view/m.view.html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/bug/view/m.view.html.php b/module/bug/view/m.view.html.php index 86abea40b0..3ee0e0f60a 100755 --- a/module/bug/view/m.view.html.php +++ b/module/bug/view/m.view.html.php @@ -1,5 +1,5 @@ session->set('bugID', $bug->id); -if($this->session->bugType) die(js::locate($this->createLink('my', 'bug', "type={$this->session->bugType}"), 'parent')); -die(js::locate($this->createLink('bug', 'browse', "productID=$productID"), 'parent')); +if($this->session->bugType) die($this->locate($this->createLink('my', 'bug', "type={$this->session->bugType}"))); +die($this->locate($this->createLink('bug', 'browse', "productID=$productID"))); ?> diff --git a/module/story/view/m.view.html.php b/module/story/view/m.view.html.php index f3b16e6e8e..31a0d50d19 100755 --- a/module/story/view/m.view.html.php +++ b/module/story/view/m.view.html.php @@ -1,2 +1,2 @@ session->set('storyID', $story->id);?> -createLink('product', 'browse', "productID=$product->id"), 'parent'));?> +locate($this->createLink('product', 'browse', "productID=$product->id")));?>