* fix bug.

This commit is contained in:
wangyidong
2021-06-17 14:48:58 +08:00
parent 6a0674c3db
commit 0f9f9ae9f5
+5 -4
View File
@@ -1,16 +1,17 @@
function showLink(buildID, type, param)
{
var method = type == 'story' ? 'linkStory' : 'linkBug';
loadURL(createLink('build', method, 'buildID=' + buildID), type);
if(typeof(param) == 'undefined') param = '&browseType=' + type + '&param=0';
loadURL(createLink('build', method, 'buildID=' + buildID + param), type);
$('.actions').find("a[href*='" + type + "']").addClass('hidden');
}
/**
* Load URL.
*
* @param string $url
* @param string $type
*
* @param string $url
* @param string $type
* @access public
* @return void
*/