From 43d15ecca1d9f1f123173ecd09ef950ab0935b5e Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 15 Sep 2021 14:26:27 +0200 Subject: [PATCH] fix: broken js on page prevents working developer panel --- .../src/main/webapp/js/account/accountProxyItemsPanel.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/src/main/webapp/js/account/accountProxyItemsPanel.js b/webapp/src/main/webapp/js/account/accountProxyItemsPanel.js index b1ae3cc47..7dd659c7f 100644 --- a/webapp/src/main/webapp/js/account/accountProxyItemsPanel.js +++ b/webapp/src/main/webapp/js/account/accountProxyItemsPanel.js @@ -208,10 +208,14 @@ $(document).ready(function() { $(document).ajaxStart(function(){ - progressImage.removeClass('hidden').css('display', 'inline-block'); + if (progressImage){ + progressImage.removeClass('hidden').css('display', 'inline-block'); + } }); $(document).ajaxStop(function(){ - progressImage.hide().addClass('hidden'); + if (progressImage){ + progressImage.hide().addClass('hidden'); + } }); });