cockpit/js/instance.js in cpee-2.1.37 vs cockpit/js/instance.js in cpee-2.1.38
- old
+ new
@@ -456,12 +456,17 @@
$('body').attr('current-save-dir',$(" > attributes > design_dir",res).text());
}
if ($('body').attr('current-logs')) {
var uuid = $(" > attributes > uuid",res).text();
$("#current-log").show();
+ $("#shifted-log").show();
$("#current-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.yaml');
+ $("#shifted-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.shift.yaml');
if ($("#current-log").text() == '') {
$("#current-log").text(uuid + '.xes.yaml');
+ }
+ if ($("#shifted-log").text() == '') {
+ $("#shifted-log").text(uuid + '.xes.shift.yaml');
}
}
}
}
});