. Popup info panel now shows funky animated icon (from Linton) when loading node summary data

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5269 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-03-02 11:53:07 +00:00
parent 18a3f1a132
commit 04f9a2e7bc
2 changed files with 12 additions and 0 deletions

View File

@@ -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)