+ add id to the link.

This commit is contained in:
wangchunsheng
2009-12-17 06:42:24 +00:00
parent 972582c7bf
commit 5f5a0a4b6a

View File

@@ -137,7 +137,7 @@ class treeModel extends model
/* 生成需求链接。*/
function createStoryLink($module)
{
$linkHtml = html::a(helper::createLink('product', 'browse', "product={$module->product}&module={$module->id}"), $module->name);
$linkHtml = html::a(helper::createLink('product', 'browse', "product={$module->product}&module={$module->id}"), $module->name, '_self', "id='module{$module->id}'");
return $linkHtml;
}