Make table rows clickable using javascript. Use this functionality in the top X lists and in the test results table
This commit is contained in:
@@ -280,9 +280,10 @@ function outputTopXRow($oRow)
|
||||
$oVersion = new Version($oRow->versionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
$img = Screenshot::get_random_screenshot_img(null, $oRow->versionId, false); // image, disable extra formatting
|
||||
html_tr_highlight_clickable("white", "white", "white", 'appview.php?iVersionId='.$oRow->versionId);
|
||||
echo '
|
||||
<tr class="white">
|
||||
<td class="app_name"><a href="appview.php?iVersionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
|
||||
<td class="app_name">
|
||||
<a href="appview.php?iVersionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
|
||||
<td>'.util_trim_description($oApp->sDescription).'</td>
|
||||
<td><center>'.$img.'</center></td>
|
||||
</tr>';
|
||||
|
||||
Reference in New Issue
Block a user