mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. 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:
BIN
source/web/images/icons/ajax_anim.gif
Normal file
BIN
source/web/images/icons/ajax_anim.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 970 B |
@@ -99,6 +99,12 @@ Alfresco.NodeInfoPanel.prototype =
|
|||||||
{
|
{
|
||||||
if (this.popupElement == null)
|
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(
|
YAHOO.util.Connect.asyncRequest(
|
||||||
"POST",
|
"POST",
|
||||||
getContextPath() + '/ajax/invoke/NodeInfoBean.sendNodeInfo',
|
getContextPath() + '/ajax/invoke/NodeInfoBean.sendNodeInfo',
|
||||||
@@ -151,6 +157,12 @@ Alfresco.NodeInfoPanel.prototype =
|
|||||||
*/
|
*/
|
||||||
displayNodeInfo: function()
|
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 (AlfNodeInfoMgr.displayable(this.nodeRef) == true)
|
||||||
{
|
{
|
||||||
if (this.popupElement != null && this.visible == false)
|
if (this.popupElement != null && this.visible == false)
|
||||||
|
Reference in New Issue
Block a user