* finish task#1683.

This commit is contained in:
azhi
2013-08-08 11:13:15 +08:00
parent 43c38fc552
commit a087704212
7 changed files with 74 additions and 14 deletions

View File

@@ -150,9 +150,9 @@ var browseType = '<?php echo $browseType;?>';
echo "</div>";
$actionLink = $this->createLink('task', 'batchEdit', "projectID=$projectID");
$misc = $canBatchEdit ? "onclick=changeAction('$actionLink')" : "disabled='disabled'";
$misc = $canBatchEdit ? "onclick=changeAction('projectTaskForm','batchEdit','$actionLink')" : "disabled='disabled'";
echo "<div class='groupButton dropButton'>";
echo html::commonButton($lang->edit, "onclick=\"changeAction('projectTaskForm', 'batchEdit', '$actionLink')\" $misc");
echo html::commonButton($lang->edit, $misc);
echo "<button id='moreAction' type='button' onclick=\"toggleSubMenu(this.id, 'top', 0)\"><span class='caret'></span></button>";
echo "</div>";
}