Merge pull request #7675 from gtrack/workflow_btn_dont_jump

[19.01] Bugfix: "Run workflow" jumps when clicked
This commit is contained in:
Dannon
2019-04-15 14:24:54 -04:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
@@ -222,6 +222,7 @@ var View = Backbone.View.extend({
_renderHeader: function() {
var self = this;
this.execute_btn = new Ui.Button({
id: "run-workflow",
icon: "fa-check",
title: _l("Run workflow"),
cls: "btn btn-primary",
@@ -233,7 +234,7 @@ var View = Backbone.View.extend({
.addClass("h4")
.empty()
.append(`<b>Workflow: ${this.model.get("name")}<b>`)
.append(this.execute_btn.$el.addClass("float-right mt-3"));
.append(this.execute_btn.$el);
},
/** Render message */
+5
View File
@@ -728,6 +728,11 @@ div.form-row-error-message {
margin-top: 5px;
}
#run-workflow {
@include float-right;
@extend .mt-3;
}
.workflow-right {
background: white;
}