cockpit/js/instance.js in cpee-2.0.15 vs cockpit/js/instance.js in cpee-2.0.16
- old
+ new
@@ -440,9 +440,12 @@
});
} else if(val == "attributes") {
var text = $(" > attributes > info",res).text() + " (" + url.replace(/\/$/,'').split(/[\\/]/).pop() + ")";
$('#title').text(text);
document.title = text;
+ if ($('body').attr('current-save')) {
+ $('body').attr('current-save-dir',$(" > attributes > design_dir",res).text());
+ }
if ($('body').attr('current-logs')) {
var uuid = $(" > attributes > uuid",res).text();
$("#current-log").show();
$("#current-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.yaml');
if ($("#current-log").text() == '') {