diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp index 60bc908f3c..c679c3791f 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp @@ -100,9 +100,9 @@ // if the selection has changesd, reload the page if (currentLocation !== option.value) { // get an access token if necessary - var getAccessToken = $.Deferred(function (deferred) { + var getAccessToken = $$.Deferred(function (deferred) { if (nf.Storage.hasItem('jwt')) { - $.ajax({ + $$.ajax({ type: 'POST', url: '../nifi-api/access/ui-extension-token' }).done(function (token) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-ajax-setup.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-ajax-setup.js index a04120797c..ad540b88da 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-ajax-setup.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-ajax-setup.js @@ -18,7 +18,7 @@ /** * Performs ajax setup for use within NiFi. */ -$(document).ready(function () { +$(document).ready(function ($) { // include jwt when possible $.ajaxSetup({ 'beforeSend': function(xhr) { 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 9c929a865a..6db1cc5b2b 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 @@ -19,7 +19,7 @@ * Captures keydown on the window to ensure certain keystrokes are handled in a consistent manner, particularly those * that can lead to browser navigation/reload. */ -$(document).ready(function () { +$(document).ready(function ($) { // setup a listener to ensure keystrokes are being overridden in a consistent manner $(window).on('keydown', function (evt) { // consider escape, before checking dialogs