diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-universal-capture.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-universal-capture.js index 221a127d74..9c929a865a 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-universal-capture.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-universal-capture.js @@ -106,13 +106,12 @@ $(document).ready(function () { evt.preventDefault(); } } else { - if (!$('input').is(':focus') && (evt.keyCode == 8 || evt.keyCode === 46)) { + if (!$('input, textarea').is(':focus') && (evt.keyCode == 8 || evt.keyCode === 46)) { // backspace or delete evt.preventDefault(); } } } - }); });