linkid = $(btn).data('jobid');
linkurl = $(btn).data('link');
- console.log('Util.showBigLogView: job_id="' + linkid + '", log_url="' + linkurl + '"');
-
// get value
logViewWidth = getClientWidth() - 18;
logViewHeight = getClientHeight() - 50;
// set value
$('#log-view-content').width(logViewWidth);
$('#log-view-content').height(logViewHeight);
- $('#log-view-content').offset({
- top: logViewTop,
- left: logViewLeft
- });
+ $('#log-view-content').css('top', logViewTop);
+ $('#log-view-content').css('left', logViewLeft);
// show
$('#log-view-content-body').empty();
$('#log-view-content-download').attr('href', linkurl);
$('#log-view-content').show();
+ // read
readLog(linkid);
}