diff --git a/source/web/images/icons/ajax_anim.gif b/source/web/images/icons/ajax_anim.gif new file mode 100644 index 0000000000..c014d6d580 Binary files /dev/null and b/source/web/images/icons/ajax_anim.gif differ diff --git a/source/web/scripts/ajax/node-info.js b/source/web/scripts/ajax/node-info.js index 919f43fb05..2399a91958 100644 --- a/source/web/scripts/ajax/node-info.js +++ b/source/web/scripts/ajax/node-info.js @@ -99,6 +99,12 @@ Alfresco.NodeInfoPanel.prototype = { if (this.popupElement == null) { + var elImg = Alfresco.Dom.getElementByTagName(this.launchElement, "img"); + if (elImg != null) + { + elImg.src = getContextPath() + "/images/icons/ajax_anim.gif"; + } + YAHOO.util.Connect.asyncRequest( "POST", getContextPath() + '/ajax/invoke/NodeInfoBean.sendNodeInfo', @@ -151,6 +157,12 @@ Alfresco.NodeInfoPanel.prototype = */ displayNodeInfo: function() { + var elImg = Alfresco.Dom.getElementByTagName(this.launchElement, "img"); + if (elImg != null) + { + elImg.src = getContextPath() + "/images/icons/popup.gif"; + } + if (AlfNodeInfoMgr.displayable(this.nodeRef) == true) { if (this.popupElement != null && this.visible == false)