From 3cc311c02102d9ce28d505e675cb1cca5911e5cd Mon Sep 17 00:00:00 2001 From: Chris Metzger Date: Mon, 25 Nov 2019 07:28:54 -0500 Subject: [PATCH] Add cancel button to variable name creation dialog This closes NIFI-6603 --- .../webapp/js/nf/canvas/nf-variable-registry.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js index a4e0f4bfcd..33b469bcec 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js @@ -1620,7 +1620,22 @@ click: function () { addNewVariable(); } + }, + + }, + { + buttonText: 'Cancel', + color: { + base: '#E3E8EB', + hover: '#C7D2D7', + text: '#004849' + }, + handler: { + click: function () { + this.modal('hide'); + } } + }], handler: { close: function () {