diff --git a/client/galaxy/scripts/mvc/workflow/workflow-view.js b/client/galaxy/scripts/mvc/workflow/workflow-view.js index 23875f61489..50465e6963f 100644 --- a/client/galaxy/scripts/mvc/workflow/workflow-view.js +++ b/client/galaxy/scripts/mvc/workflow/workflow-view.js @@ -258,7 +258,7 @@ export default Backbone.View.extend({ for (let i = 0; i < workflow_versions.length; i++) { const current_wf = workflow_versions[i]; - let version_text = `Version ${current_wf["version"]}, ${current_wf["steps"]} steps`; + let version_text = `Version ${current_wf.version}, ${current_wf.steps} steps`; let selected = false; if (i == self.workflow.workflow_version) { version_text = `${version_text} (active)`; @@ -287,7 +287,7 @@ export default Backbone.View.extend({ $("#workflow-version-switch").unbind("change"); if (this.value != self.workflow.workflow_version) { if (self.workflow && self.workflow.has_changes) { - const r = confirm("There are unsaved changes to your workflow which will be lost. Continue ?"); + const r = window.confirm("There are unsaved changes to your workflow which will be lost. Continue ?"); if (r == false) { // We rebuild the version select list, to reset the selected version self.build_version_select(); @@ -774,6 +774,7 @@ export default Backbone.View.extend({ // Fix width to computed width // Now add floats var buttons = $("
"); + buttons.append($(`
Node Details
`)); if (type !== "subworkflow") { buttons.append( $("
")