diff --git a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/GeneratedFormPreviewPluginProvider.js b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/GeneratedFormPreviewPluginProvider.js index 93523d3fd5..db52c1a216 100644 --- a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/GeneratedFormPreviewPluginProvider.js +++ b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/GeneratedFormPreviewPluginProvider.js @@ -37,7 +37,7 @@ GeneratedFormPreviewPluginProvider.prototype.getFormsTab = function(formsTab) { var self = this; if (formsTab.groups.length > 0 && formsTab.groups[0].entries.length > 0) { formsTab.groups[0].entries.splice(2, 0, { - html: "", + html: "", id: "form-fields-generate-button", openPreview: function(element, node) { var formFields = formHelper.getFormFields(element); diff --git a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/client-bundle.js b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/client-bundle.js index 33b7e41ca5..6033db1740 100644 --- a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/client-bundle.js +++ b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/client/client-bundle.js @@ -38,7 +38,7 @@ GeneratedFormPreviewPluginProvider.prototype.getFormsTab = function(formsTab) { var self = this; if (formsTab.groups.length > 0 && formsTab.groups[0].entries.length > 0) { formsTab.groups[0].entries.splice(2, 0, { - html: "", + html: "", id: "form-fields-generate-button", openPreview: function(element, node) { var formFields = formHelper.getFormFields(element); diff --git a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/style/style.css b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/style/style.css index c5d5fddda1..ac1efacd0b 100644 --- a/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/style/style.css +++ b/snippets/camunda-modeler-plugins/camunda-modeler-plugin-usertask-generatedform-preview/style/style.css @@ -1,7 +1,7 @@ @import "bootstrap.min.css"; /* Style the Preview Button */ -button.preview-button { +#preview-button { position: relative; width: 100px; }