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'); + } }); });