* Fix bug #38051.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
window.refreshLogs = function()
|
||||
{
|
||||
$.ajaxSubmit({
|
||||
url: $.createLink('ci', 'checkCompileStatus', 'compileID=' + buildID),
|
||||
onComplete: function() {
|
||||
loadTarget($.createLink('compile', 'logs', 'compileID=' + buildID));
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -11,6 +11,7 @@ declare(strict_types=1);
|
||||
namespace zin;
|
||||
global $lang;
|
||||
|
||||
jsVar('buildID', $build->id);
|
||||
detailHeader(
|
||||
to::prefix(''),
|
||||
to::title(span(setClass('font-semibold'), $lang->compile->logs)),
|
||||
@@ -24,7 +25,7 @@ detailHeader(
|
||||
set::className('mr-3 secondary'),
|
||||
set::icon('eye'),
|
||||
set::text($lang->compile->refresh),
|
||||
set::url(helper::createLink('ci', "checkCompileStatus", "compileID={$build->id}"))
|
||||
on::click('refreshLogs'),
|
||||
) : '',
|
||||
backBtn
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user