* finish task#1685.

This commit is contained in:
azhi
2013-08-08 15:45:54 +08:00
parent a14b2c5e7d
commit 3d17951ba7
4 changed files with 79 additions and 5 deletions
+24 -2
View File
@@ -230,9 +230,31 @@ js::set('customed', $customed);
unset($lang->bug->resolutionList['duplicate']);
foreach($lang->bug->resolutionList as $key => $resolution)
{
$actionLink = $this->createLink('story', 'batchResolve', "resolution=$key");
$actionLink = $this->createLink('bug', 'batchResolve', "resolution=$key");
echo "<li>";
echo html::a('#', $resolution, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
if($key == 'fixed')
{
echo html::a('#', $resolution, '', "onmouseover=toggleSubMenu(this.id,'right',2) id='fixedItem'");
}
else
{
echo html::a('#', $resolution, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
}
echo "</li>";
}
?>
</ul>
</div>
<div id='fixedItemMenu' class='hidden listMenu'>
<ul>
<?php
unset($builds['']);
foreach($builds as $key => $build)
{
$actionLink = $this->createLink('bug', 'batchResolve', "resolution=fixed&resolvedBuild=$key");
echo "<li>";
echo html::a('#', $build, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
echo "</li>";
}
?>